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

Add option to get the CSRF token from the Local Storage #1228

Closed
esfomeado opened this issue Jul 28, 2021 · 3 comments
Closed

Add option to get the CSRF token from the Local Storage #1228

esfomeado opened this issue Jul 28, 2021 · 3 comments

Comments

@esfomeado
Copy link

Is your feature request related to a problem? Please describe.
Allow to get the CSRF token from the Local Storage and not only from the cookies.

Describe the solution you'd like
Add a new configuration to load the CSRF token from the Local Storage.

Describe alternatives you've considered
The alternative solution it's to write a custom request interceptor.

@bnasslahsen
Copy link
Contributor

@esfomeado,

Are you willing to propose a PR for this feature ?

@esfomeado
Copy link
Author

Yeah, I can do this when I have some time.

@bnasslahsen
Copy link
Contributor

ok. I am closing this ticket.
You can directly submit your PR and will be glad to review it.

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

No branches or pull requests

2 participants