<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
0D54z000076wrj0CAAOkta Classic EngineAuthenticationAnswered2021-08-16T02:29:53.000Z2021-08-12T07:17:19.000Z2021-08-16T02:29:53.000Z

RehanA.77534 (Customer) asked a question.

Issue after clicking on Login Button.

When I click on the Login button. I faced this error: --

400

BAD REQUEST

Your request resulted in an error.

Go to Homepage

identity provider: Unknown

Error Code : invalid_request

Description: The direct_url' parameter must be a Login redirect URI in the client app settings: https://dev-52866645-admin.okta.cm/admin/oidc_client/instance/genral.

 

 

here is my configuration:

 

  oidc: {

    clientId: '0oa1g9tp14KiDLzJZ5d7',

    redirectUri: '.okta.dev-52866645:/callback',

    endSessionRedirectUri: '.okta.dev-52866645:/callback',

    discoveryUri: 'https://dev-52866645.okta.com/oauth2/default',

    scopes: ['openid', 'profile', 'offline_access'],

    requireHardwareBackedKeyStore: false,

  },

};

And when I click on URI that given above in the description in BAD Request 400 error. It shows me the login page. After this, it should be redirected to the app but it again goes back to the website and the app still showing me the Login button, not log out and URL's buttons.


This question is closed.
Loading
Issue after clicking on Login Button.
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply