SSO Login

This is an exception because, unlike other MediaStore SDK endpoints, this one requires publisherToken for authorization.

Use this endpoint to generate a customer JWT for a customer who has been authenticated with a third-party Single Sign-on (SSO) provider without passing the credentials. This will enable the customer to use other MediaStore SDK features (e.g. Checkout or My Account) without the need to log in. The authentication takes place in the background.

You can use this endpoint by itself for new customers. For existing customer accounts that you already have with a third-party identity provider, please remember to first set up corresponding customer accounts in Cleeng. You can create them via API or by migrating them.

Note: This endpoint can only be used for authorized broadcasters (an authorized broadcaster is a broadcaster whose customers’ accounts were created exclusively by/for this individual broadcaster).

Response description

jwtToken used for authorization. It is required for endpoints related to customers. JWT is valid for 24 hours. It includes customerId, publisherId, and expiration date (to decode use package like jwt-decode)
refreshTokenA token to generate a new access JWT. Read more about refresh token HERE
Click Try It! to start a request and see the response here!