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.
|jwt||Token used for authorization. It is required for endpoints related to customers. JWT is valid for 24 hours. It includes |
|refreshToken||A token to generate a new access JWT. Read more about refresh token HERE|