Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Invalid Session Participant' on SLO request despite the sessionIndex having the same value as in the authentication response #79

Open
bazfer opened this issue Aug 2, 2022 · 1 comment

Comments

@bazfer
Copy link

bazfer commented Aug 2, 2022

Hello, I'm struggling to debug this issue. In short:

  • In the SSO response from the IDP a sessionIndex is included in the XML

<saml:AuthnStatement AuthnInstant="2022-08-02T16:41:33.293Z" SessionIndex="475112335">

  • In the SLO request the sessionIndex provided and logged is the same as in the auth response mentioned above
Processing SAML SLO request for participant => 
 {
  serviceProviderId: **redacted**,
  sessionIndex: '475112335',
  nameId: '[email protected]',
  nameIdFormat: 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
  serviceProviderLogoutURL: 'http://localhost:3000/users/saml/idp_sign_out'
}
  • SLO fails due to this issue

Any pointers as to what could be wrong would be greatly appreciated.

@leafac
Copy link

leafac commented Apr 8, 2023

I ran into this issue as well. In my case, it was because I was restarting the saml-idp server between sign in and sign out, and it doesn’t persist sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants