This is an exception because, unlike other MediaStore SDK endpoints, this one requires publisherToken for authorization.
Use this endpoint to generate a customer JWTJWT - JWT (JSON Web Token) - open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed. In Cleeng, JWT payload contains: customerId, publisherId, expiration date. JWT is valid for 15 minutes and after that time a refresh token mechanism can be used. 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).
Token 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)
A 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!