Weird-Sheep-Labs / django-azure-auth

A simple Django app for user authentication with Azure Active Directory/Entra ID.
MIT License
17 stars 10 forks source link

Bypass account selection during logout #22

Closed regoawt closed 5 months ago

regoawt commented 6 months ago

With the v2 endpoints, when a user goes to logout they always have to "choose" the account even though there is only one logged in user.

The 'login_hint' optional claim can be used in the logout URI to bypass this, as per https://learn.microsoft.com/en-us/entra/identity-platform/v2-protocols-oidc#send-a-sign-out-request

Credits to @whikloj

regoawt commented 5 months ago

Closed by #24.