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

Initial install Github Sign-in returns a 404 error #2

Open
1dolinski opened this issue Feb 4, 2013 · 2 comments
Open

Initial install Github Sign-in returns a 404 error #2

1dolinski opened this issue Feb 4, 2013 · 2 comments

Comments

@1dolinski
Copy link

Installed the app, bundled gems, migrated the database. App will run the thin server on my localhost.

When I attempt to sign-in using github @ to http://localhost:3000/users/sign_in. It redirects me to a 404 github page.

@pokonski
Copy link
Owner

pokonski commented Feb 4, 2013

Did you configure the private API keys for Github?

https://github.com/pokonski/activity_blog/blob/master/config/initializers/devise.rb#L218

this expects a config/github.yml file with security credentials.

@1dolinski
Copy link
Author

pokonski, you wouldn't happen to have an example would you? I googled around and am stuck.
I have my github application setup with the Client ID and the Client Secret ... I seem to be stuck on the yaml file. I created on in the config directory but don't quite understand how it should be structured. Also, if I need to replace the GITHUB_CLIENT_ID or or "client_id" as well as the secret portions of the line that was highlighted in your link

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