License API

SSO URL

3min
This endpoint generates the url for the hosted UI used for Single Sign On of the license users
GET
Request
Query Parameters
product
required
String
Product short code
customer_account_code
required
String
customer account code
Header Parameters
Date
required
String
eq. Thu, 17 Nov 2022 20:51:35 GMT
Authorization
required
String
See signing of the License API calls article.
Curl
Node.js
JS
Python
Ruby
Responses
200


Authorization method

By default, authorization method used for SSO is Implicit grant which attaches user pool tokens ( id_token, access_token, expires_in and token_type ) to the redirect_uri once the user is verified. The id_token then can be used when Single Sign On server as authentification for license user in License Activation

If you do not wan't to expose user tokens or the redirect uri is too long for your use case, you can use Authorization code grant method where instead of id_token the code query param is attached to the redirect_uri and this code is sent instead of id_token on request body when doing license activation. To enable Authorization code grant attach the optional response_type=code query param to this endpoint. Example:/api/v4/sso_url/?customer_account_code=test&product=test&response_type=code

More informations about AWS Cognito grants can be found here

List of exceptions

unknown_product (400): Provided product was not found
missing_headers (400): Some headers are missing
authorization_missing_params (400): Some parameters are missing in the authorization: { params }