I have set “oauth_external_authorization_status” to true & trace confirms same. Above policy fails to generate access token & ends up with below error.
{“ErrorCode” : “invalid_client”, “Error” :“Client identifier is required”}
Not sure what i am missing here… Is it a bug in the platform ? Client credentials flow works perfectly fine with same request… password grant type with external authorization fails to generate access token
As long as you have the oauth_external_authorization_status set to true and have the ExternalAuthorization set to true in the policy, it should work. A sample policy with externalAuthorization would look like this:
Yes, My request is exactly same as one you mentioned.. I tried with both client_id & removing GrantType tag.. Still same issue.. Do we have a working example of password granttype with external authorization ?
@arghya das , never mind it was an issue with sending the payload to the GenerateAccessToken policy.. Tested in a different proxy to find out root cause and it worked like as expected, it was issue with my proxy configuration.. Thank you ..
Hi I am also getting same issue ,how did you resolved can you tell me . I tried adding ClientId in the oauth policy and tried removing both clientID and GrantType.But still facing same issue. Acutally using in Response.To Regenerate the external token it is coming in the form of SessionID.