This repository was archived by the owner on Oct 29, 2021. It is now read-only.
This repository was archived by the owner on Oct 29, 2021. It is now read-only.
No way to get a CSRF token when using creds-based auth and cookies #11
Closed
Description
CSRF cookies seem to be set in response to requests authenticated with a Bearer
token, but not in response to those authenticated with a cookie the user logging in with credentials.
It seems like this functionality should be swapped:
- Responses to
Bearer
-authenticated (API) requests should not set a CSRF cookie - Responses to
Cookie-authenticatedthe user logging in with creds (browser) requests should set a CSRF cookie
See also #10
Metadata
Metadata
Assignees
Labels
No labels