<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
0D51Y0000AWeX1CSQVOkta Classic EngineSingle Sign-OnAnswered2024-04-30T09:08:19.000Z2021-02-22T15:27:12.000Z2021-02-25T19:28:15.000Z

AdilZ.91533 (Customer) asked a question.

Let user login into my SPA (Reactjs) based on IdToken using Okta-React SDK

Hi,

Hope you are doing good.

I’m struggling with the user authentication based on IdToken. What I’m trying to do is. If I go to my Okta-Dashboard and click on my application. Okta Redirect me with the IdToken. With that IdToken I’m trying to login-user into my Reactjs SPA.

I should not display the log-in page to the user, instead, I have to validate the ID token received from Okta for authenticity and establish Okta SSO session. I’m already using Okta-React SDK.

I have gone through the number of posts and official docs but unable to find help may be due to my lack of Okta-Domain knowledge.

I’m really stuck in it. Please guide how can we validate the ID token received from Okta-Dashboard => My Apps Section and use the same token for validating the user instead of asking the user to log-in again.

Looking forward to you.

Regards

Adil


  • zod17 (zod17)

    It looks like this has already been opened with Okta Support through case # ****6210. Please continue to work with them to address this issue.

     

    Thank You,

    Cody Gardner

    Technical Support Engineer | Okta Inc.

    Expand Post
This question is closed.

Recommended content

Loading
Let user login into my SPA (Reactjs) based on IdToken using Okta-React SDK