Skip to content

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

Description

@jhselvik

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions