Difference between revisions of "Authorization code"
Jump to navigation
Jump to search
| Line 9: | Line 9: | ||
| − | "error": "unauthorized_client", | + | "error": "[[unauthorized_client]]", |
"error_description": "The client is not authorized to use the provided grant type. Configured grant types: [authorization_code]." | "error_description": "The client is not authorized to use the provided grant type. Configured grant types: [authorization_code]." | ||
Latest revision as of 16:44, 18 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[edit]
Advertising: