Login users using social login providers like Google Sign-In. This implements a backend-to-backend integration for authentication. Irrespective of the social login provider, the flow includes three steps: initiating a login, submitting the received code to Mosaic, and finally completing authentication with Mosaic.
Social Login
The URI the identity provider will redirect the user to after authentication. Must match one of the pre-configured redirect URIs in the application's social login settings. This URI will receive the authorization code that can be exchanged for user information.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/google/start
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/google/start
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/google/start
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/google/start
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/google/start
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/google/start \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"redirect_uri": "https://www.example.com/login",
"state": "string"
}'{ "authorization_url": "https://www.provider.com/auth" }
Resource URI the authentication request is attempting to access, which is reflected in the audience (aud claim) of the access token. This must be configured as resource for the application.
Used to request additional claims in the ID token, such as roles, permissions, and other user profile data. The structure is per the OIDC Standard. For supported claims and how to request custom claims, see the ID Token Reference.
Used to associate the authentication with an existing session (such as for MFA). If unspecified, a new session is created and the session ID is returned.
The transaction identifier that was previously returned by the verification endpoint. This ID is required to associate this authentication request with the verified token information stored during the verification step.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/google/authenticate
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/google/authenticate
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/google/authenticate
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/google/authenticate
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/google/authenticate
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/google/authenticate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"resource": "string",
"claims": {
"id_token": {
"roles": null
}
},
"org_id": "string",
"client_attributes": {
"user_agent": "string",
"ip_address": "string"
},
"session_id": "string",
"transaction_id": "string",
"user_id": "string"
}'{ "access_token": "string", "id_token": "string", "refresh_token": "string", "token_type": "string", "expires_in": 3600, "session_id": "string" }
The URI the identity provider will redirect the user to after authentication. Must match one of the pre-configured redirect URIs in the application's social login settings. This URI will receive the authorization code that can be exchanged for user information.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/facebook/start
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/facebook/start
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/facebook/start
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/facebook/start
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/facebook/start
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/facebook/start \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"redirect_uri": "https://www.example.com/login",
"state": "string"
}'{ "authorization_url": "https://www.provider.com/auth" }
Resource URI the authentication request is attempting to access, which is reflected in the audience (aud claim) of the access token. This must be configured as resource for the application.
Used to request additional claims in the ID token, such as roles, permissions, and other user profile data. The structure is per the OIDC Standard. For supported claims and how to request custom claims, see the ID Token Reference.
Used to associate the authentication with an existing session (such as for MFA). If unspecified, a new session is created and the session ID is returned.
The transaction identifier that was previously returned by the verification endpoint. This ID is required to associate this authentication request with the verified token information stored during the verification step.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/facebook/authenticate
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/facebook/authenticate
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/facebook/authenticate
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/facebook/authenticate
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/facebook/authenticate
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/facebook/authenticate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"resource": "string",
"claims": {
"id_token": {
"roles": null
}
},
"org_id": "string",
"client_attributes": {
"user_agent": "string",
"ip_address": "string"
},
"session_id": "string",
"transaction_id": "string",
"user_id": "string"
}'{ "access_token": "string", "id_token": "string", "refresh_token": "string", "token_type": "string", "expires_in": 3600, "session_id": "string" }
The URI the identity provider will redirect the user to after authentication. Must match one of the pre-configured redirect URIs in the application's social login settings. This URI will receive the authorization code that can be exchanged for user information.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/apple/start
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/apple/start
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/apple/start
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/apple/start
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/apple/start
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/apple/start \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"redirect_uri": "https://www.example.com/login",
"state": "string"
}'{ "authorization_url": "https://www.provider.com/auth" }
Resource URI the authentication request is attempting to access, which is reflected in the audience (aud claim) of the access token. This must be configured as resource for the application.
Used to request additional claims in the ID token, such as roles, permissions, and other user profile data. The structure is per the OIDC Standard. For supported claims and how to request custom claims, see the ID Token Reference.
Used to associate the authentication with an existing session (such as for MFA). If unspecified, a new session is created and the session ID is returned.
The transaction identifier that was previously returned by the verification endpoint. This ID is required to associate this authentication request with the verified token information stored during the verification step.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/apple/authenticate
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/apple/authenticate
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/apple/authenticate
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/apple/authenticate
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/apple/authenticate
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/apple/authenticate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"resource": "string",
"claims": {
"id_token": {
"roles": null
}
},
"org_id": "string",
"client_attributes": {
"user_agent": "string",
"ip_address": "string"
},
"session_id": "string",
"transaction_id": "string",
"user_id": "string"
}'{ "access_token": "string", "id_token": "string", "refresh_token": "string", "token_type": "string", "expires_in": 3600, "session_id": "string" }
The URI the identity provider will redirect the user to after authentication. Must match one of the pre-configured redirect URIs in the application's social login settings. This URI will receive the authorization code that can be exchanged for user information.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/tiktok/start
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/tiktok/start
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/tiktok/start
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/tiktok/start
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/tiktok/start
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/tiktok/start \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"redirect_uri": "https://www.example.com/login",
"state": "string"
}'{ "authorization_url": "https://www.provider.com/auth" }
Resource URI the authentication request is attempting to access, which is reflected in the audience (aud claim) of the access token. This must be configured as resource for the application.
Used to request additional claims in the ID token, such as roles, permissions, and other user profile data. The structure is per the OIDC Standard. For supported claims and how to request custom claims, see the ID Token Reference.
Used to associate the authentication with an existing session (such as for MFA). If unspecified, a new session is created and the session ID is returned.
The transaction identifier that was previously returned by the verification endpoint. This ID is required to associate this authentication request with the verified token information stored during the verification step.
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/tiktok/authenticate
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/tiktok/authenticate
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/tiktok/authenticate
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/tiktok/authenticate
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/tiktok/authenticate
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/tiktok/authenticate \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"resource": "string",
"claims": {
"id_token": {
"roles": null
}
},
"org_id": "string",
"client_attributes": {
"user_agent": "string",
"ip_address": "string"
},
"session_id": "string",
"transaction_id": "string",
"user_id": "string"
}'{ "access_token": "string", "id_token": "string", "refresh_token": "string", "token_type": "string", "expires_in": 3600, "session_id": "string" }
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/google/verify
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/google/verify
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/google/verify
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/google/verify
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/google/verify
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/google/verify \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"state": "string"
}'{ "transaction_id": "string", "claims": {} }
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/facebook/verify
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/facebook/verify
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/facebook/verify
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/facebook/verify
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/facebook/verify
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/facebook/verify \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"state": "string"
}'{ "transaction_id": "string", "claims": {} }
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/apple/verify
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/apple/verify
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/apple/verify
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/apple/verify
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/apple/verify
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/apple/verify \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"state": "string"
}'{ "transaction_id": "string", "claims": {} }
- Sandbox environmenthttps://api.sbx.transmitsecurity.io/cis/v1/auth/social/tiktok/verify
- Production environment (US)https://api.transmitsecurity.io/cis/v1/auth/social/tiktok/verify
- Production environment (EU)https://api.eu.transmitsecurity.io/cis/v1/auth/social/tiktok/verify
- Production environment (CA)https://api.ca.transmitsecurity.io/cis/v1/auth/social/tiktok/verify
- Production environment (AU)https://api.au.transmitsecurity.io/cis/v1/auth/social/tiktok/verify
- cURL
- Node.js
- Go
- JavaScript
- Java
- Python
curl -i -X POST \
https://api.sbx.transmitsecurity.io/cis/v1/auth/social/tiktok/verify \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"state": "string"
}'{ "transaction_id": "string", "claims": {} }