Oauth Workshop
This is just a simple proof of concept in dealing with oauth for github to signin a user to the site with information received from the authorization.
Getting Started
- After cloning, bundle & install figaro with
figaro install
- Setup a github oauth app on github
settings>developer settings>New Oauth App
- Paste your client secret and id into the application.yml under
client_secret: (secret_key)
&client_id: (client_key)
Prerequisites
- Rails 5.2.2
- Ruby 2.4.1
Installing
- run
rails server
in your terminal - visit localhost:3000 (or whatever port rails server prescribes)
- click login & login using your github credentials
- you should be redirected to
localhost:3000/dashboard
and see your github username
Deployment
Add additional notes about how to deploy this on a live system
Built With
- Rails 5.2.2
- Ruby 2.4.1
- GitHub Oauth
Acknowledgments
- Turing School of Software and Design