Add Logout logic #145
No reviewers
Labels
No labels
backend
bug
CI
dependencies
design
documentation
duplicate
enhancement
frontend
github_actions
good first issue
help wanted
invalid
javascript
question
refactoring
security
tooling
UX
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
NBIS/sda-download-ui!145
Loading…
Reference in a new issue
No description provided.
Delete branch "11-logout-logic"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Related issue(s) and PR(s)
This PR closes #11 to add the log out functionality.
Type of change
List of changes made
Testing
Use the log out button from the menu.
Definition of Done checklist
Looks and works great, good work!
When inspecting the session cookies after pressing logout, I noticed that we should have included in the issue that the NextAuth's session cookie needs to be cleared as well.
However, this PR does address the current issue so I approve it. I opened the follow-up #146 which can build upon the code implemented here.