<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
0D54z00009w3YNsCAMOkta Classic EngineAuthenticationAnswered2024-08-05T09:03:10.000Z2024-01-02T09:14:38.000Z2024-01-08T23:01:09.000Z

7o6hi (7o6hi) asked a question.

Implementing cross-account authentication with the "Log in with Okta" button

Hello everyone!

 

Has anyone had to add a "Log in with Okta" button to your application's login page.

 

I'm currently dealing with a challenge where I can only set up this kind of integration for one Okta account (organization, realm). Unfortunately, it doesn't work for other accounts (companies). For instance, I've configured SAML or OAuth integration using my Okta developer account. When I click the "Log in with Okta" button, it always redirects me to the authentication page at "https://trial-8477863.okta.com/oauth2/v1/authorize?client_id=0oa9v81bnlR47Ybmp697&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fusers%2Fauth%2Foktaoauth%2Fcallback&response_type=code&scope=openid+profile+email&state=835b84b6f630ab2031eb1e3135459423d3323c7defab7bd2". However, the issue is that users from different Okta accounts, not associated with my organization, can't use this authentication method.

 

If anyone has encountered a similar problem and can offer potential solutions, I would greatly appreciate it.

 

Thank you!

 

  •  

 


This question is closed.
Loading
Implementing cross-account authentication with the "Log in with Okta" button