Open
Description
The logout handler in the example has a path param provider
, but its purpose isn't obvious.
Lines 244 to 248 in 4b34e17
It only calls
gothic.Logout(res, req)
:Lines 239 to 252 in 4b34e17
As
Logout
only clears the session, I assume it's used to invalidate the session if the user breaks the auth flow prematurely. At this point it isn't really a logout but rather a reset. I don't see a reason to scope /logout
to a provider, if anything, it makes logging out more difficult because we have to track the provider (e.g. session cookie).Metadata
Metadata
Assignees
Labels
No labels