Skip to content

Clicking the disconnect button while testing the example-cherry project results in a 500 error. #4

@search5

Description

@search5

Expected behaviour

While testing the example-cherry project in the python-social-auth/social-examples project, I'm getting up to social login, but when I click the disconnect button, I get a 500 error.

Actual behaviour

The disconnect button should work properly after social login.

What are the steps to reproduce this issue?

You can clone the python-social-auth/social-examples project and set up a random provider in the example-cherry project and proceed with the social connection.

Any logs, error output, etc?

When you click the logout button, the console prints a message that the disconnect method received an unexpected csrfmiddlewaretoken argument, and the web browser throws a 500 error.

Any other comments?

I'm working on changing the SQLAlchemy 1 version code to SQLAlchemy 2 version code in several subprojects of the Python-social-auth project, and I'd like to reflect this in the corresponding commits.

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