I’m currently evaluating using Okta and I’m experiencing an issue where when I attempt to log in the browser displays the message
Identity Provider: Unknown
Error Code: invalid_request
Description: The ‘redirect_uri’ parameter must be an absolute URI that is whitelisted in the client app settings.
I’m using NodeJS and I’m trying to change the callback route to go to /admin. The code I’m using for the callback is
You might need to define a redirect uri in your OIDC app you created in Okta and make sure it matches what you have in the ExpressOIDC. If you already done that, then make sure you add that url to the whitelist CORS/Redirect uris in Okta. Navigate to Security > API > Trusted Origins
Please make sure to add the redirect_uri present on /authorize endpoint in Okta also in the OIDC app in Okta under Admin >> Applications >> your OIDC application >> General >> Login Redirect URIs.