Skip to content
This repository has been archived by the owner on Jan 24, 2020. It is now read-only.

CSRF and JWT #29

Open
stas-ua opened this issue Apr 30, 2019 · 0 comments
Open

CSRF and JWT #29

stas-ua opened this issue Apr 30, 2019 · 0 comments

Comments

@stas-ua
Copy link

stas-ua commented Apr 30, 2019

There is a CSRF prevention mechanism on the template, which adds CSRF token to each request. But since this template use JWT to authorize requests then why we need the CSRF token? As I understand CSRF attack is only possible when an app uses cookies based authorization. But here we have "Authorise" header on each request.
Please, forgive me my ignorance if I don't understand something.

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

No branches or pull requests

1 participant