Browse Source

Fix documentation on Oauth2.Enable flag (#7011)

* Fix documentation on Oauth2.Enable flag

The docs list this as ENABLED, but in the source code it's
ENABLE, meaning following the docs leads to confusion.

* Update sample config for oauth2.ENABLE
tags/v1.9.0-rc1
Monty Taylor techknowlogick 6 years ago
parent
commit
d9758b8db3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/content/doc/advanced/config-cheat-sheet.en-us.md

+ 1
- 1
docs/content/doc/advanced/config-cheat-sheet.en-us.md View File

@@ -419,7 +419,7 @@ NB: You must `REDIRECT_MACARON_LOG` and have `DISABLE_ROUTER_LOG` set to `false`

## OAuth2 (`oauth2`)

- `ENABLED`: **true**: Enables OAuth2 provider.
- `ENABLE`: **true**: Enables OAuth2 provider.
- `ACCESS_TOKEN_EXPIRATION_TIME`: **3600**: Lifetime of an OAuth2 access token in seconds
- `REFRESH_TOKEN_EXPIRATION_TIME`: **730**: Lifetime of an OAuth2 access token in hours
- `INVALIDATE_REFRESH_TOKEN`: **false**: Check if refresh token got already used


Loading…
Cancel
Save