Answer the question
In order to leave comments, you need to log in
Why do I need a redirect when requesting an Access token in the Implicit flow authorization?
For example, it says here that in the authorization in the SPA according to the Implicit flow after sending a post request,
POST https://api.authorization-server.com/token
grant_type=authorization_code&
code=AUTH_CODE_HERE&
redirect_uri=REDIRECT_URI&
client_id=CLIENT_ID
Answer the question
In order to leave comments, you need to log in
At the stage of converting the authorization code ( authorization_code ) into an access token ( access token ), if successful, the server must return information about the access token in response to the POST request.
Content-Type: application/json
{
access_token: "ABC...XYZ",
refresh_token: "ABC...XYZ",
expires_in: 123,
token_type: "Bearer",
scope: "..."
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question