Hi,
I am encountering an issue while submitting my Okta OIDC integration with the IDP-initiated flow for testing. The integration works well when tested independently, but it fails during the automated testing process.
The following error is being displayed:
Here is the flow for my IDP-initiated scenario:
- When a user clicks on my app from the Okta dashboard, they are redirected to my application with the “iss” parameter (issuer).
- I use the issuer to retrieve the client credentials needed for calling the
/oauth2/v1/authorize
API. After that, I made the authorization call. - This redirects the app to my domain with a “code” parameter. I pass this code, along with the issuer information, to my server API, which processes it and retrieves the Okta
id_token
. - Using the
id_token
, I authorize the user to access my application.
Could anyone advise on how I can resolve this issue and successfully submit my app? I have been stuck on this for quite long time.
Thank you in advance for your assistance.