django-saml2-auth icon indicating copy to clipboard operation
django-saml2-auth copied to clipboard

Logout doesn't work

Open mahekul opened this issue 5 years ago • 1 comments

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).

mahekul avatar Apr 13 '20 13:04 mahekul

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.

Asdonomar avatar Nov 17 '20 00:11 Asdonomar