Skip to content

Commit

Permalink
Add route configuration to README (basecamp#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolai-b authored May 6, 2020
1 parent 5247f2d commit 7477750
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ end

**⚠️ Important:** Take care to protect your client secret from disclosure to third parties.

9. (Optional) The callback route can be configured using:

```ruby
# config/initializers/google_sign_in.rb
Rails.application.configure do
config.google_sign_in.root = "my_own/google_sign_in_route"
end
```

Which would make the callback `/my_own/google_sign_in_route/callback`.

## Usage

Expand Down

0 comments on commit 7477750

Please sign in to comment.