Skip to content

Add support for OAuth 1.0 for X/Twitter (for getting email) #150

Open
@justin-schroeder

Description

@justin-schroeder

The emailRequired feature for X login fails with the following error:

{
  ...
  "detail": "You are not permitted to use OAuth2 on this endpoint"
  ...
}

As far as I can tell this is always the case. Since oAuth 1.1 is required for this endpoint and the api call in the X provider uses the Authorization Bearer {token} header, which is an OAuth 2.0 feature on twitter.

In order to access account details of the user, beyond what is public, I believe we need to rewrite the X provider to use OAuth 1.0a instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions