Skip to content

stujo/ruby-sinatra-google-oauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinatra Google OAuth Example

A sample application for Google OAuth, inspired by queuetue's app skeleton

Required Pre-work

  • Set up a client application in Google Developer Console
    • Set up the app with a OAuth Client Credential
      • Use http://localhost:9292/ as the app url
      • Use http://localhost:9292/auth/callback as the callback url
    • Add the Google Plus API to the App
  • Create a .env file in the proeject folder
GOOGLE_API_CLIENT="YOUR CLIENT ID HERE"
GOOGLE_API_SECRET="YOUR CLIENT SECRET HERE"

Start the App

rackup

or

rerun rackup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published