Request access token is not working
I am following below steps from OAuth 2.0 box.
First I authorize my application using this URL:
https://account.box.com/api/oauth2/authorize?response_type=code&client_id=k&state=authorised
Then, I request the token to https://api.box.com/oauth2/token using this body.
{
"grant_type": "authorization_code",
"code": "",
"client_id": "",
"client_secret": ""
}
The code is the same as the first step return me at the URL.
But I always get the same error:
{
"error": "invalid_request",
"error_description": "Invalid grant_type parameter or parameter missing"
}
What can solve that problem?
サインインしてコメントを残してください。
コメント
1件のコメント