Skip to content

Commit

Permalink
Merge pull request #92 from Anthonyntilelli/patch-1
Browse files Browse the repository at this point in the history
update readme for rails usage
  • Loading branch information
oblakeerickson authored Aug 19, 2020
2 parents 4547b90 + 267f54b commit 5afe8ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ use OmniAuth::Builder do
end
```


## Basic Usage Rails

In `config/initializers/github.rb`

```ruby
Rails.application.config.middleware.use OmniAuth::Builder do
provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET']
end
```


## Github Enterprise Usage

```ruby
Expand Down

0 comments on commit 5afe8ae

Please sign in to comment.