fangli / django-saml2-auth

Django SAML2 Authentication Made Easy. Easily integrate with SAML2 SSO identity providers like Okta
Other
504 stars 223 forks source link

Logout doesn't work #134

Open mahekul opened 4 years ago

mahekul commented 4 years ago

When i attempt to login my djnago app after logging out, I'm taken to my app directly before entering credentials again. (Okta account is not logged out).

Asdonomar commented 3 years ago

The problem is Okta not django-saml2-auth. To correct logout i found a stupid solution but works fine: Link the logout page to a simple html page where inside you put an hide iframe with https://sso.youroktadomain.com/login/signout as src

and in the same page put an auto redirect after 3 sec to main login page Looks odd but i couldnt fine better solution, Okta doesnt give you proper logout api.