Saml2: How does detecting if an account has been disabled work?

Created on 7 Aug 2017  路  1Comment  路  Source: Sustainsys/Saml2

I have Kentor set up and managing logging into my application via the OneLogin IdP.

I am confused at how the application is supposed to know when a user account has been disabled (or had permissions changed) at the IdP. My understanding is that the claims issued by the IdP are with some regularity supposed to "expire", at which point the authentication library needs to reach out to the identity provider to get a refresh of the most recent version. It can do this without a password (since it has the old claims it can prove that it had access at one point).

What I'm unclear over is

  • Is that correct?
  • What part of this does Kentor AuthServices handle? What part do I need to do myself?
  • How do I set how often claims expire?
question

Most helpful comment

The SAML assertion from OneLogin may contain a SessionNotOnOrAfter attribute that AuthServices respects for the session length. After that expires, a new authentication is done against OneLogin. If there is an existing session on the Idp, that authentication might be completely invisible to the user.

There is no way in SAML to revalidate an existing session except doing another authentication.

>All comments

The SAML assertion from OneLogin may contain a SessionNotOnOrAfter attribute that AuthServices respects for the session length. After that expires, a new authentication is done against OneLogin. If there is an existing session on the Idp, that authentication might be completely invisible to the user.

There is no way in SAML to revalidate an existing session except doing another authentication.

Was this page helpful?
0 / 5 - 0 ratings