Skip to content

Disable csrf check for jwt client#238

Open
lutfuahmet wants to merge 1 commit intoqor:masterfrom
lutfuahmet:master
Open

Disable csrf check for jwt client#238
lutfuahmet wants to merge 1 commit intoqor:masterfrom
lutfuahmet:master

Conversation

@lutfuahmet
Copy link

If client has Authorization header, auth package is not using cookie based validation.

https://github.com/qor/auth/blob/11d4c974507d28e2fd10ff94edcdd00369e069a6/session_storer.go#L43

the same condition applies to the csrf_check middleware.

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

Successfully merging this pull request may close these issues.

1 participant