Skip to content

Add https://stackexchange.com/oauth/access_token to the list of brokenAuthHeaderProviders #268

@aweisser

Description

@aweisser

The auth provider stackexchange.com does not seem to implement the OAuth2 spec fully.
When I try to authenticate the internal Post request returns an error:

Error: oAuth exchanged failed: oauth2: cannot fetch token: 400 Bad Request
Response: {"errors":[{"message":"No client_id specified.","code":6014}]}

When I add https://stackexchange.com/oauth/access_token` to the list of brokenAuthHeaderProviders in package golang.org/x/oauth2/internal everything works fine.

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