Reputation: 659
I am facing a weird issue with one of our clients where users are getting logged out after few seconds(after placing 10-15 requests) of login. We are using following
I compared the successful and unauthorized requests in browser and they look exactly similar. They both have all the necessary cookies present - Authentication Cookie, Session Cookie.
I am guessing the issue is somewhere on the Load Balancer or Web Server side. The trace on the Web Server is just showing one difference between the request.
The request that succeeds has Session Id present and the request that returns unauthorized is missing the Session Id.
I have 2 questions
Please note if I switch to Form/LDAP authentication instead of SAML, it seems working fine. So issues seems related to SustainSys SAML.
Upvotes: 0
Views: 308
Reputation: 659
The issue was occurring because SessionNotOnOrAfter in the SAML response was set to 2 minutes. That was causing the session to end and user was getting logged out.
Upvotes: 0