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

Errors in IdP initiated logout #205

Open
saranya-sanju opened this issue Nov 3, 2021 · 1 comment
Open

Errors in IdP initiated logout #205

saranya-sanju opened this issue Nov 3, 2021 · 1 comment

Comments

@saranya-sanju
Copy link

I'm using Rails 5.2 with Devise and Azure AD for SSO, Sign in process and SP initiated logout is working fine.

For IdP initiated logout, the user is not logged out of the session. The session["saml_uid"] is returning as nil and validate_signature is returning as false.

While accessing the session during LogoutRequest, facing the below issue

#<ActionDispatch::Request::Session:0x7fb410fbc388 not yet loaded>

I have the provided the below credentials for integrating Rails with Azure using omniauh-saml,
assertion_customer_service_url, idp_sso_target_url, idp_slo_target_url, idp_cert_fingerprint, issuer, slo_default_relay_state

Can you please help in getting the Rails session logged out while logging out in Azure?

@bschrag
Copy link

bschrag commented Dec 7, 2023

I too am facing a similar issue with Azure. When the slo request comes in from Azure, the session is empty. Perhaps this is an issue on Azure's end. I also have the issue with the SloLogoutrequest being invalid. Specifically, the error states that the certificate is invalid.

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