Azure / Azure/static-web-apps

How to properly make my SWA logout from a custom identity provider?

Open
#594 28 comments 5 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

I saw this similar issue and I think this is a bug.
https://github.com/Azure/static-web-apps/issues/529

But I would like to understand better if this is something that will be fixed or do we really need to make the "reverse flow" to make it work. (Logout from IdP redirecting to app logout url).

**Describe the bug**
The app does not completely logs out when we visit the /logout url with a custom identity provider configured.

**To Reproduce**
Steps to reproduce the behavior:
1. Setup a custom identity provider
2. Login into the app
3. Then logout
4. The SWA app will be logged out but not the custom provider.
5. If you visit any url that requires authentication the app logs you in without requesting for credentials again.

**Expected behavior**
Logout from the SWA and from the custom identity provider.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.