Hi Balaji,
What version of the OIDC SSO module are you using?
I'm asking this because I had exactly same problem, and my solution was to upgrade the OIDC SSO module. (In my case I had Mendix Pro 9.20 and I had to upgrade the OIDC SSO module from v1.0.1 to v2.0.0, as stated by the documentation. This is because there were some changes in the cookies handling as seen on the second screenshot):
However, I see that you are using Studio Pro 9.16, so in your case I suggest first trying the OIDC SSO v1.1.1, and if that doesn't work try OIDC SSO v.2.0.0:
PD: whenever you upgrade a module, also make sure to go to the userlib folder and remove any duplicated libraries.
I hope that solves your problem, if it does, please mark the question as solved, best regards!
I am facing the same issue with Mendix studio pro 9.24.2 and OIDC 2.4.0 as well. In the application log, I can see that the user is logged in by SSO. However, after redirection by AD (Azure), the user is redirected to the login page.
Can someone please support?
I'm using Mendix Studio Pro 10.8 and still happen with me. I already update all dependencies. Does anyone has some idea how can I fix it?
In the log of application I can see the user logged by SSO but after redirect by AD (Azure) the user is redirected to login page, makes no sense to me
Facing the same issue (9.24.15 and OIDC version 3.1.0). looks like the setSessionData action is not working as it should (anymore).