<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
0D54z00009GZ1WtCALOkta Classic EngineAuthenticationAnswered2024-08-19T09:01:23.000Z2023-06-07T16:16:14.000Z2023-06-09T06:41:59.000Z

zagid (zagid) asked a question.

Sso in React SPA

On first time login I want to verify if okta sso session is active and if not redirect to a Custom sign in screen

i have create new instance but it is empty on first load When sso was active

var authClient = new OktaAuth({

url: 'https://${yourOktaDomain}',

clientId: '${clientId}',

redirectUri: 'http://localhost:8080'

});

 

Which api should I call? To check if sso is active and redirect to custom sign in screen only if not..

 


This question is closed.
Loading
Sso in React SPA