Skip to content

Commit

Permalink
Add exammple for setting redirect_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
zquestz committed Dec 13, 2020
1 parent da8fba2 commit 32599d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/omni_auth.rb
Expand Up @@ -10,6 +10,10 @@
#
provider :google_oauth2, ENV['GOOGLE_KEY'], ENV['GOOGLE_SECRET'], scope: 'email,profile'

# Custom redirect_uri
#
# provider :google_oauth2, ENV['GOOGLE_KEY'], ENV['GOOGLE_SECRET'], scope: 'email,profile', redirect_uri: 'https://localhost:3000/redirect'

# Manual setup for offline access with a refresh token.
#
# provider :google_oauth2, ENV['GOOGLE_KEY'], ENV['GOOGLE_SECRET'], access_type: 'offline'
Expand Down

0 comments on commit 32599d1

Please sign in to comment.