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
const oidc = new ExpressOIDC({
issuer: {my okta domain}/oauth2/default,
client_id: {client id},
client_secret: {client secret},
appBaseUrl: {base url},
routes: {
loginCallback: {
path: ‘/admin’
}
}
});
Is there something additional I need to do to allow the callback to go to /admin? Sorry if it is a very basic question but I’m very new to all this.
Many Thanks