![]() Sometimes, you might have some extra slash / at the end, use wrong scheme ( http instead of https), add some query parameters (make it different from the registered ones), use wrong port. Invalid callback URL: The callback URL must be exact as one of the registered redirect URIs in your public app.You should rely on this 401 http status to request a new one or to refresh the token with refresh_token. When a access_token is expired or revoked, any request with that token will result in 401 Unauthorized.This access_token will be expired after expired_in seconds.Now use this access_token to make your first request to Developer Platform.Seller clicks Cho phép truy cập (Allow) and you get back an access token:.Seller will select 1 of their stores with necessary permissions and grant your app access: Seller clicks Đăng nhập (Login) and gets a consent screen.Here you must use a seller account to login to Seller Center: Click Get new access token and seller gets a login screen.Your public app authentication method ( token endpoint auth method).Add scope offline if you want to get a refresh_token along. Scopes you want to request from the seller.The auth endpoint and token endpoint from the global configuration.Now review your public app configuration and enter:. ![]() Grant Type must be Authorization Code when you are getting authorization from sellers. Open Auth tab > Type > Select OAuth 2.0.We will demonstrate this process as below: Public app gets authorization from sellersĪ public app can get access tokens if sellers grant access to seller stores. You already have an active store on production.You already have a public app or an in-house app.Confirm ODF, seller delivery, cross border orders.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |