Troubleshooting
- You may have entered the client id wrong.
- Make sure that you have defined the response type as code.
- While you create KOBIL OpenID application, you can use the redirect uri that you gave to redirect_uri part. If you want to allow all of them, you can enter * (use this only for development).
- You may have entered the client secret value wrong.
{
"error": "unauthorized_client",
"error_description": "Invalid client secret"
}
- It means that your authorization code is wrong. This code can be used only once and is valid less than 30 seconds. You can try again with a new valid authorization code.
{
"error": "invalid_grant",
"error_description": "Code not valid"
}
- Make sure that your redirect-uri is same with the one you have sent to KOBIL OpenID authorization server.
{
"error": "invalid_grant",
"error_description": "Incorrect redirect_uri"
}
- Make sure that the content type is “x-www-form-urlencoded” when you request token endpoint with the POST method.
{
"error": "invalid_request",
"error_description": "Missing form parameter: grant_type"
}