oidc-client-ts icon indicating copy to clipboard operation
oidc-client-ts copied to clipboard

redirect_uri: Issue with IDCS

Open cosmos-uk opened this issue 1 year ago • 2 comments

I'm new to oidc-client-ts and I'm facing an error while implementing Oracle Identity Cloud Service (IDCS) with it. The error message is: {"error": "invalid_redirect_uri", "error_description": "Client XXXXXX requested an invalid redirect URL: http://localhost:3000. ECID: XXXXXXXX"}. Can anyone help?

cosmos-uk avatar Jul 25 '24 10:07 cosmos-uk

Typically you must register the redirect URI on the IdP side...

pamapa avatar Aug 20 '24 14:08 pamapa

Typically you must register the redirect URI on the IdP side...

I realized the issue: the redirect_uri is being encoded when making the request, but Oracle is not decoding it.

cosmos-uk avatar Aug 20 '24 15:08 cosmos-uk