Skip to content

logout loop #822

Answered by gekko2725
gekko2725 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi folks,

I'm answering my own question, hopefully it saves some of the team from going down the rabbit hole. It also goes to show that I should have done a little of my own research before posting the question here.

This also isn't entirely my solution. My colleague Okcana gets credit.

Two things need to happen:

  • The saml logout endpoint in the Azure app registration does not gracefully log out the session. Use the generic Microsoft ws federation link below

https://login.microsoftonline.com/common/wsfederation?wa=wsignout1.0

  • Clear the session and forcibly expire the cookie rather than trying to delete it. The httponly flag makes it almost impossible to delete with javascript.

setcook…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gekko2725
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant