You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of using cookies, we can instead use react's UseContext to call useSession hook in pulpito-ng and store user data in context. This is a better solution because cookies can have stale data but UseContext would have latest data from teuthology-api. And all components can use that data.
VallariAg
changed the title
Delete GH_USER cookie on logout
Delete GH_USER cookie
Sep 14, 2024
Even after we logout from pulpito-ng, the
GH_USER
cookie isn't deleted.It would be nice to delete this before sending
RedirectResponse
in /logout endpoint on teuthology-api.Example (chrome):
The text was updated successfully, but these errors were encountered: