I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!
Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
Issue: SLO is not redirecting to the optional logout URL configured in SAML SSO properties.
Solution:
You had same-site property set to Lax. When SameSite
is set to Lax, the cookie is sent in requests within the same site and in GET requests from other sites. It isn't sent in GET requests that are cross-domain.
To overcome the authentication failures, web apps authenticating with the Microsoft identity platform can set the
SameSite
property toNone
for cookies that are used in cross-domain scenarios when running on the Chrome browser. Other browsers (see here for a complete list) follow the previous behavior ofSameSite
and won't include the cookies ifSameSite=None
is set. In your case you opted using centralized entity for user when logout-request come we will find the user based on nameID in saml-request and mark it as Logged out.
If you have any other questions or are still running into more issues, please let me know.
Thank you again for your time and patience throughout this issue.
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.
Thanks,
Akshay Kaushik