Skip to content

Security issue with Twitter backend - state parameter #338

@TechNickAI

Description

@TechNickAI

According to the security issue referenced in omab/django-social-auth#386 - a state parameter should be required to prevent clickjacking of requests.

In the issue, it mentions that it backends with Oauth2 were fixed. I'm getting security reports that the Twitter login (via python social auth) has a security hole because it is missing the state parameter, presumably because Twitter uses Oauth1 instead of Oauth 2.

According to this https://hackerone.com/reports/13555 , the state parameter should still be present even for Oauth1.

Can we add the state parameter to the Twitter backend, or explain why it is omitted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions