activity_blog icon indicating copy to clipboard operation
activity_blog copied to clipboard

Initial install Github Sign-in returns a 404 error

Open 1dolinski opened this issue 12 years ago • 2 comments

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.

1dolinski avatar Feb 04 '13 12:02 1dolinski

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.

pokonski avatar Feb 04 '13 12:02 pokonski

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

1dolinski avatar Feb 05 '13 01:02 1dolinski