If the user clicks on the logout button, the cookie with the JWT should be deleted. Somehow it doesn't get deleted such that after the user navigates to another subpage he is logged in again.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
The Path attribute in the set-cookie header can be modified to point to a non-existing path. This ensures that the cookie would never be sent to the server since its only purpose is to safe it on the computer such that the frontend can read it and attach it anyway to every request to the API.
Then the cookie can't be read from the website.
By Daniel Göbel on 2022-12-28T16:50:32 (imported from GitLab)