SSO Login

Important: 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.

Calling this endpoint updates the customer’s lastLoginDate that you can check with the Fetch customer's data endpoint. If a customer IP address is also passed, lastUserIP field will be updated with this value.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

The email address of the customer

string

Customer IP address (stored as last user IP). If not provided, the IP from which the request was sent will be used.

Headers
string
Defaults to application/json
string
required
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json