Skip to content

Incorrect Client Credentials via GitHub #138

@Zanaku

Description

@Zanaku

Hey folks,

I've been struggling with this problem since just before new year, so in desperation am looking to see if I can get a bit more light shed on it when I cannot seem to find any.

I am running Django 1.6.1 on Python 2.7.5 using PyCharm, if that helps at all.

I'm getting the GitHub approval page open, then when I hit 'allow access', I hit an exception as follows from my console output:

AuthFailed: Authentication failed: incorrect_client_credentials
[02/Jan/2014 21:50:21] "GET /complete/github/?code=aa3d418efda7655289e6&redirect_state=gHBfjKazw1Ker6XUUm9wmilZKV6SoiKW&state=gHBfjKazw1Ker6XUUm9wmilZKV6SoiKW HTTP/1.1" 500 116616

I get this issue on both the example provided, and with my own set up, so I am at a bit of a loss. I can't even seem to find out what 'incorrect_client_credentials' means as an exception! No-one else seems to have hit this.

My GitHub application seems to successfully register the user as having been issued a token, however nothing gets to my database at all.

Any help is greatly appreciated, thanks in advance.

EDIT: Turns out I was stupendously stupid and had written SECRET_KEY rather than just SECRET. Tedious,

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