Created
September 6, 2017 14:03
-
-
Save yum45f/b97dfc23284b9123f0966dfb4ae45905 to your computer and use it in GitHub Desktop.
Ruby Sinatra を使ってGoogle認証をする(下調べ)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use OmniAuth::Builder do | |
provider :open_id, :name => 'admin', | |
:identifier => 'https://google.com/accounts/o8/site-xrds?hd=yourdomain.com', | |
:store => OpenID::Store::Filesystem.new('/tmp') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment