<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
0D54z00008gLgUqCAKOkta Classic EngineIntegrationsAnswered2025-09-13T09:01:51.000Z2023-01-20T09:53:33.000Z2023-01-20T15:33:43.000Z

6o3cz (6o3cz) asked a question.

OKTA-SAML Login redirect looping issue.

I have integrated Java servlet with OKTA SAML using JBoss and picket link. I was able to logged in to the application and the main screen loads fine. Then, I clicked the menu for the first time. The iframe screen loaded properly. But for the second time when I clicked a another menu, the application is looping again and again with the okta login page.

 

How to solve the OKTA login screen looping issue?


6o3cz likes this.
  • a0n5s (a0n5s)

    you can check with SAML-Tracer when the data is pass to your application. then check the network in the chrome development model. loop from where to where, maybe can export the HAR file.

  • JaniK.29243 (Customer)

    In general, what I've seen in the past, this kind of looping is related to the cookie(s) set during the authentication. If a cookie is not secure (e.g. secure and/or httponly attributes) the browser cannot accept it or them (which causes the looping).

     

    Firefox has e.g. Cookie quick manager extension which is quite handy way of examining cookies set by servers.

     

    -Jani

    Expand Post
This question is closed.
Loading
OKTA-SAML Login redirect looping issue.