<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
0D54z00007Ln4YBCAZOkta Classic EngineAuthenticationAnswered2024-03-25T10:23:29.000Z2021-12-28T10:13:08.000Z2021-12-29T14:46:33.000Z

cppm7 (cppm7) asked a question.

How to perform authentication via IdP though backend code.

We have 2 okta instance(X and Y). In Y we have users created. We created IdP(openID connect IdP) in X which has clientId and client_secret of app in Y. We want to perform authentication with the help Y account. When we try it in UI based on domain rule it correctly redirect us to Y instance URL to sign in and it get authenticated. But when we give user_id password and call sign in our backend code calling "api/v1/authn" with host of okta instance x, it does not validate User. How can we resolve this issue?


This question is closed.
Loading
How to perform authentication via IdP though backend code.