-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Do not simply use bearer token from cookie for auth (#326)
This approach is/may be vulnerable to a CSRF attack. More care/research is needed before taking this approach. For now, it's safer to simply use the authorization header.
- Loading branch information
1 parent
9b054a6
commit ff48b19
Showing
4 changed files
with
5 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 0 additions & 5 deletions
5
...oadster__middleware__http__auth__jwt__tests__bearer_token_from_cookies@invalid_token.snap
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
.../roadster__middleware__http__auth__jwt__tests__bearer_token_from_cookies@valid_token.snap
This file was deleted.
Oops, something went wrong.