Difference between revisions of "Authorization code"
Jump to navigation
Jump to search
| Line 7: | Line 7: | ||
[[invalid_grant]] is a valid response | [[invalid_grant]] is a valid response | ||
| + | |||
| + | |||
| + | "error": "unauthorized_client", | ||
| + | "error_description": "The client is not authorized to use the provided grant type. Configured grant types: [authorization_code]." | ||
Revision as of 17:45, 10 July 2026
curl -s -X POST https://<OKTA_DOMAIN>/oauth2/v1/token \ -d "grant_type=authorization_code" \ -d "code=invalid-test" \ -d "client_id=<CLIENT_ID>" \ -d "client_secret=<CLIENT_SECRET>" \ -d "redirect_uri=https://placeholder/callback" | jq invalid_grant is a valid response
"error": "unauthorized_client", "error_description": "The client is not authorized to use the provided grant type. Configured grant types: [authorization_code]."
See also
Advertising: