Impossible to log out with standard aad
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Using an [example](https://learn.microsoft.com/en-us/azure/static-web-apps/add-authentication) from the documentation, I added a bit of logic to sign out. Clicking the login button, automatically signs me back in with the same credentials. Choosing In-private browsing or signing-out of the browser, do not change this.
I want to sign out with my current credentials, to then have the choice to sign in with different credentials.
**To Reproduce**
Steps to reproduce the behavior:
1. Clone the repro repo [here](https://github.com/[bospoort/swa-logout-bug](https://github.com/bospoort/swa-logout-bug)
2. Follow [these steps from the documentation](https://learn.microsoft.com/en-us/azure/static-web-apps/deploy-web-framework) to deploy to azure
3. Sign in.
4. Click the logout button
5. Click login and notice you are automatically signed in with previous credentials.
**Expected behavior**
The web site should log me out and on clicking sign in it should let me choose what account to use. It currently bypasses the sign in dialog completely, filling it out with cached credentials.
**Device info (if applicable):**
- OS: reproes on Windows, or Android devices
- Browser Chrome or Edge
**Additional context**
Things I've tried:
- query parameters on login
- cache-control headers.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.