Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github says 404 when I want to use it #224

Closed
hroncok opened this issue Mar 23, 2014 · 11 comments
Closed

Github says 404 when I want to use it #224

hroncok opened this issue Mar 23, 2014 · 11 comments

Comments

@hroncok
Copy link

hroncok commented Mar 23, 2014

Steps to reproduce:

  1. run django example app
  2. try to authenticate via Github

Excpected behaviour:

Github ask me if I really want to do this, and it logs me in.

Actual results:

Github gives 404.

@omab
Copy link
Owner

omab commented Mar 23, 2014

I cannot reproduce it here, could you paste the server log?

@hroncok
Copy link
Author

hroncok commented Mar 23, 2014

Sorry, I'm quite new to this, where do I find logs when I ./manage.py runserver on the example app from this repo?

@omab
Copy link
Owner

omab commented Mar 23, 2014

In the console where you ran the command.

@hroncok
Copy link
Author

hroncok commented Mar 23, 2014

No error at all is there. Just 200 OK for /login/github and that's it.
Writing from my cell phone so I cannot copy paste it right now.

@omab
Copy link
Owner

omab commented Mar 23, 2014

OK, try to copy and paste them when you have them available, there should be a 404 in there.

@hroncok
Copy link
Author

hroncok commented Mar 23, 2014

Nope, it's github's 404, not Django's.

@omab
Copy link
Owner

omab commented Mar 23, 2014

OK, which is the URL on github?

@hroncok
Copy link
Author

hroncok commented Mar 23, 2014

@omab
Copy link
Owner

omab commented Mar 23, 2014

client_id is None in that URL, check your SOCIAL_AUTH_GITHUB_KEY setting.

@hroncok
Copy link
Author

hroncok commented Mar 23, 2014

That's not set on the example app, ok, thanks, I'll try to look at this in
the docs.

@hroncok hroncok closed this as completed Mar 23, 2014
@omab
Copy link
Owner

omab commented Mar 23, 2014

Yeah, SOCIAL_AUTH_*_KEY and SOCIAL_AUTH_*_SECRET settings aren't set in the example app since those values should keep secure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants