jeremyschulman / netbox-plugin-auth-saml2

Netbox plugin for SSO using SAML2
119 stars 23 forks source link

Enable SLO #19

Closed joeyt1973 closed 3 years ago

joeyt1973 commented 3 years ago

Would like to request that SLO is implemented. Unable to logout currently.

jeremyschulman commented 3 years ago

Hi @joeyt1973 - could you please explain or provide reference to "SLO"? Also could you please note the version of Netbox you are using?

joeyt1973 commented 3 years ago

Hello, "SLO" is SAML single logout requests. I'm using the latest stable Netbox 2.10. The problem is when you click logout currently you are redirected to login and since the ticket is still valid you get right back in. Here is the link to the documentation that my SAML provider has on the subject. https://is.docs.wso2.com/en/latest/learn/handling-saml-single-logout-requests-from-federated-identity-providers/#configuring-primary-isservice-provider-in-the-secondary-is

jeremyschulman commented 3 years ago

@joeyt1973 - thank you for the information. I am not using a SSO system that utilizes the SLO mechanism; so unfortunately I would not have the ability to dev-test this feature request.

The actual code that is performing the SSO functionality (independent of Netbox) is here: https://github.com/jeremyschulman/django3-auth-saml2/tree/master/django3_auth_saml2

If you are proficient with Python and would like to make a PR for the enhancement, it would be in that repository.

I'll also leave this Issue open so others in the community could comment as well.

jeremyschulman commented 3 years ago

closing due to lack of activity +30days.