Skip to content

Commit

Permalink
๐Ÿ“ Document new global config for skipping too many tokens warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pboling committed Sep 1, 2022
1 parent 598ccfc commit e0ca349
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Expand Up @@ -313,6 +313,19 @@ See [SECURITY.md][๐ŸšŽsec-pol]

## Usage Examples

### Global Configuration

If you started seeing this warning, but everything it working fine, you can now silence it.
```log
OAuth2::AccessToken.from_hash: `hash` contained more than one 'token' key
```

```ruby
OAuth2.configure do |config|
config.silence_extra_tokens_warning = true # default: false
end
```

### `authorize_url` and `token_url` are on site root (Just Works!)

```ruby
Expand Down

0 comments on commit e0ca349

Please sign in to comment.