--
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
---
You received this message because you are subscribed to the Google Groups "CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cas-user+u...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CALmwvcZfkWhiYx2OV2ZzXPAwrDNDt420Ms96p%3DVP8-KRPJMQLQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAE5VfR1SqywkBLSr5fEeX%3DHeXjK5MVL5n2A31wE%3DAz1zUF87-w%40mail.gmail.com.
Hi Mohamed,The thing is, the SAML standard is specific that AuthnInstant means "the time when the user authenticated to the IdP".This isn't just CAS that does this, other identity providers like Okta or Microsoft Entra ID work the same way, for example:Okta will send a value of the time of authentication for AuthnInstant.
- The
AuthnInstantattribute specifies the time at which the user authenticated with Microsoft Entra ID.On Dec 1, 2023, at 9:50 AM, Mohamed Amdouni <me.am...@gmail.com> wrote:Hello David,Thank you for your reply.This is what I'm trying to avoid : change all client applications to adapt the maxAuthenticationAge which has 7200 seconds by default for Spring Applications.From a client perspective, the authenticationDate is when responding to the AuthenticationRequest (in my opinion) What CAS uses internally should be kept internally (f CAS return a SAML response from a TGT or from validating a Spnego token etc ).If it's the final solution in CAS, I think that we lose the advantages of TGT and SSO when we set TGT timeout to 8Hours or above.I think that I will try to implement one of these workarounds (since the client's SAML applications are not in my scope).1- Set TGT timeout to less than 7200 seconds --> problem : increase the authentications between CAS and the AD2- Keep TGT timeout as it is (8H), and set the expiration policies of TGT to less than 7200 for Spring clientsBut I would prefer if there were a fix in CAS, if maintainers agree that from client perspective, it should be a new date not the initial TGT date.Best regards.