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 auth #151

Open
ColeWalker opened this issue Oct 18, 2020 · 1 comment
Open

Cookie based auth #151

ColeWalker opened this issue Oct 18, 2020 · 1 comment
Labels

Comments

@ColeWalker
Copy link
Owner

Header based auth is insecure.

@iJimmyWei
Copy link

It looks like as of now the refresh_token and other details in the auth header payload could be susceptible to XSS and CSRF.

For more reading on the matter - https://security.stackexchange.com/questions/180357/store-auth-token-in-cookie-or-header - it would be a case of also using sameSite to avoid CSRF (was introduced after that article was written).

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

No branches or pull requests

2 participants