My Oracle Support Banner

OAM 11.1.2.3 - Oauth Flow Token Validation Fails With "unsupported_grant_type" (Doc ID 2562933.1)

Last updated on SEPTEMBER 11, 2023

Applies to:

Oracle Mobile and Social - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

Oauth flow token validation  fails with "unsupported_grant_type"

Testing scenario to get Token and validate token using using  steps at   "Performing Access Token Introspection"


curl -i \
-H 'Authorization: Basic <Base64encodedClientIDPassword>' \
--request POST http://<hostname>/ms_oauth/oauth2/endpoints/oauthservice/tokens \
-d 'grant_type=oracle-idm:/oauth/grant-type/resource-access-token/jwt
&oracle_token_action=validate&scope=UserProfile.me&oracle_token_attrs_retrieval=iss aud exp prn jti exp iat
oracle.oauth.scope oracle.oauth.client_origin_id
oracle.oauth.user_origin_id oracle.oauth.user_origin_id_type
oracle.oauth.tk_context oracle.oauth.id_d_id oracle.oauth.svc_p_n
&assertion=<access_token>'

 

Get response with error:
{"error":"unsupported_grant_type","error_description":"Invalid\/unsupported value for grant_type"}


 

Changes

 None

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.