OAuth2 with JWT
AnsweredFollowing Tutorial for OAuth2 authentication with JWT returns the following error.
{
"error": "invalid_request",
"error_description": "Invalid grant_type parameter or parameter missing"
}
I am using the following format for my request.
I am using SoapUI to send the request with the POST method.
The grant type parameter I am using is what is specified in the documentation (urn:ietf:params:oauth:grant-type:jwt-bearer).
Any help would be appreciated.
-
This might be a misunderstanding on my part, but it looks from your example like you're passing the parameters (e.g. client_id and assertion) as query parameters in the URL — these are meant to be passed in the POST body. Can you check to make sure you're passing them in the correct place?
Please sign in to leave a comment.
Comments
3 comments