what’s the error message that Postman is giving you? It should give an error description in the response.
You should probably get something like?
{
"error": "unsupported_grant_type",
"error_description": "Unsupported grant type: implicit"
}
Can you confirm which grant type you want to use and that you really want to use the Implicit flow? Asking because if it’s the case, you should call the /authorize
endpoint instead of /token
.
See Authentication API Explorer
(The /token
endpoint would require a code which you don’t have with the Implicit flow.)
However, we discourage the usage of Implicit. See the notes on Implicit Flow with Form Post
As @rashid779939 pointed out, depending on the grant type you want to use, either the endpoint URL is wrong, or a parameter is missing (depending on the grant type; for the Implicit flow, a client_secret
isn’t needed, however, the request isn’t right in term so grant type and called URL). Best to look at the API explorer.
Your Postman request is just for dev or test purposes to play around with an access token against your API? Depending on the purpose, note that you can also consider using the Test
tab in the Dashboard under each API.
It shows you the straight POST request with all details; that’s following the Client Credentials Grant (M2M scenario) though. As said, depending on the purpose of you fetching the token, it might be a way for you as well.