pateluday07 / saml-sso-and-slo-demo-idp-azure-sp-springboot

This project is to demonstrate how we can implement Single Sign-On (SSO) and Single Logout (SLO), by taking advantage of these resources: 1. Azure AD (Active Directory) as IDP 2. Springboot as SP 3. SAML (Security Assertion Markup Language) as SSO & SLO METHOD
34 stars 27 forks source link

SSo time out issue saml/sso #2

Closed 321vka closed 3 years ago

321vka commented 3 years ago

Hi Uday, Thank you for sharing the knowledge and sharing the code. I followed the instruction and able to run your code properly. But inactivity of the 2-hour request redirect to "http://localhost:8080/saml/SSO" ANd on the backend, I am getting this error:

authentication.CredentialsExpiredException: Authentication statement is too old to be used with value

I had tried some other sample codes as well but facing the same issue every time.

Can you please guide me on how to fix this problem?. All I want to re-log in user after the session is time out. I will really appreciate any help I can get. Thank you in advance.

pateluday07 commented 3 years ago

Hello @321vka,

Sorry for the late reply.

In order to help you with this issue, I have to simulate the same issue in my machine, unfortunately, I do not have an account on Azure AD as of today, so I won't be able to simulate the issue, hence I am not able to guide you here, sorry for that.