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

authCodeHandler's state != get_CSRF_token(request) check keeps failing #10

Open
jhselvik opened this issue Jul 30, 2020 · 0 comments
Open

Comments

@jhselvik
Copy link

This could be because I am new to integrating Oauth2, but I've followed the readme but can not make it past the line

elif state != get_CSRF_token(request): # validate against CSRF attacks

in the authCodeHandler view function. I've been trying with the Connect to Quickbooks button.

I can comment out this check, but then I am not validating against CSRF attacks, and this is probably insecure. Can anyone help me understand why my sandbox app cannot pass this validation?

Thanks

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

1 participant