curl --request POST \
  --url https://api.rampartcorporation.com/developer/v1/sso \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "token": "<string>"
}'
{
  "link": "https://partner.rampartcorporation.com/sso#abc123",
  "accountToken": "account_879..."
}

Follow instructions from the SSO guide to learn how to generate the SSO token.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Body

application/json
token
string
required

JWT token signed with HS256 algorithm using your SIGNING_TOKEN. Contains user authentication payload for SSO.

Response

200 - application/json
Authentication successful

Redirect URL for authenticated user

Example:

"https://partner.rampartcorporation.com/sso#abc123"

accountToken
string

Token for account authentication. You will need to store this token to make requests to the Rampart API on behalf of this account in the future.

Example:

"account_879..."