<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00006rsmWhCAIOkta Classic EngineSingle Sign-OnAnswered2021-03-15T15:28:29.000Z2021-03-12T10:07:39.000Z2021-03-15T15:28:29.000Z

Shashankp.06976 (Customer) asked a question.

Even though both are same, The 'redirect_uri' parameter must be a Login redirect URI in the client app settings

in my application ,

LOGIN

Login redirect URIs :http://localhost:3000/users/callback & http://localhost:3000/

Logout redirect URIs http://localhost:3000/

 

and in app.js,

onst oidc = new ExpressOIDC({

  issuer: "https://dev-hidden.okta.com/oauth2/default",

  client_id: "hidden",

  

  client_secret: "hidden",

  appBaseUrl: "http://localhost:3000",

  redirect_uri: 'http://localhost:3000/users/callback',

  scope: "openid profile",

  routes: {

    login: {

      path: "/users/login"

    },

    callback: {

      path: "/users/callback",

      defaultRedirect: "/dashboard"

....................

as u can see redirect uri= logi redirect uri , still im getting the error

 

 


  • Andreea from Okta Support here, thank you for reaching out to us! I suggest opening a ticket with Support so we can get a better understanding of this issue.

This question is closed.
Loading
Even though both are same, The 'redirect_uri' parameter must be a Login redirect URI in the client app settings