Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cookie based authentication #777

Open
Parbelaez opened this issue Jan 14, 2024 · 1 comment
Open

Cookie based authentication #777

Parbelaez opened this issue Jan 14, 2024 · 1 comment

Comments

@Parbelaez
Copy link

Hello,

I see that the rest_framework_simplejwt.authentication.JWTAuthentication authentication class is only checking for the Authentication: Bearer Token header, but there is no way to do it directly with the cookies (no authentication header).

In fact, by default, it seems like Www-Authenticate is bearer dependent, and when using the dj-rest-framework JWTCookieAuthentication class is not overriding the authentication method.

Could a simpleJWT cookie exclusive authentication method be added?

Thanks!

@Andrew-Chen-Wang
Copy link
Member

Track #71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants