<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
0D5KZ00000jf5920AAOkta Classic EngineSingle Sign-OnAnswered2025-05-15T15:43:44.000Z2025-05-15T09:47:20.000Z2025-05-15T15:43:44.000Z

LiadK.09242 (Customer) asked a question.

Okta SSO callback is hanging | ReactJS

We're trying to setup Okta SSO on our React application and we have a problem where instead of going to the route where the callback component from @okta/okta-react is, instead it just hangs on the callback route without redirecting anywhere, in the url I can see the 'code' and 'state' parameters, also in the localStorage I can see that the 'okta-cache-storage' and 'okta-shared-transaction-storage' have values but the 'okta-token-storage' is empty. I've searched all over the internet for an answer and got nothing, aswell as going over the code of the sample app


  • Paul S. (Okta, Inc.)

    Hello @LiadK.09242 (Customer)​ Thank you for posting on our Community page!

     

    This question is more appropriate for our dedicated Okta Developer Forum.

    My advice would be to reach out via devforum.okta.com to take advantage of their expertise.

    While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Collect them all. Learn a new skill and earn a new Okta Learning badge

    Expand Post
This question is closed.
Loading
Okta SSO callback is hanging | ReactJS