Discussions
Invalid grant type when calling api to get bearer token
4 months ago by Vishal Bamba
Hi,
I am using the oauth2 endpoint https://auth.roserocket.com/oauth2/token to get a bearer token. Per comments on this board my post request has the following body
{
"grant_type": "password",
"username": "[email protected]",
"password": "",
"client_id": "",
"client_secret": ""
}
This is the message I get
{
"errors": [
{
"message": "Invalid grant type"
}
]
}