
6o3cz (6o3cz) asked a question.
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?

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.
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