docs: add offline_access to outline (#3914)

pull/3910/head
James Elliott 2022-08-27 08:43:55 +10:00 committed by GitHub
parent cebe7b75e0
commit ee540aa8e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -33,6 +33,9 @@ This example makes the following assumptions:
* __Client ID:__ `outline` * __Client ID:__ `outline`
* __Client Secret:__ `outline_client_secret` * __Client Secret:__ `outline_client_secret`
*__Important Note:__ At the time of this writing [Outline] requires the `offline_access` scope by default. Failure to include this scope will result
in an error as [Outline] will attempt to use a refresh token that is never issued.*
## Configuration ## Configuration
### Application ### Application
@ -51,7 +54,7 @@ OIDC_TOKEN_URI=https://auth.example.com/api/oidc/token
OIDC_USERINFO_URI=https://auth.example.com/api/oidc/userinfo OIDC_USERINFO_URI=https://auth.example.com/api/oidc/userinfo
OIDC_USERNAME_CLAIM=preferred_username OIDC_USERNAME_CLAIM=preferred_username
OIDC_DISPLAY_NAME=Authelia OIDC_DISPLAY_NAME=Authelia
OIDC_SCOPES="openid profile email" OIDC_SCOPES="openid offline_access profile email"
``` ```
### Authelia ### Authelia
@ -70,6 +73,7 @@ which will operate with the above example:
- https://outline.example.com/auth/oidc.callback - https://outline.example.com/auth/oidc.callback
scopes: scopes:
- openid - openid
- offline_access
- profile - profile
- email - email
userinfo_signing_algorithm: none userinfo_signing_algorithm: none