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

Disable csrf check for jwt client #238

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Disable csrf check for jwt client #238

wants to merge 1 commit into from

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