website/integrations: add offline_access scope to DokuWiki (#10208)

* Add offline_access scope to DokuWiki

Since 2024.2, authentik requires the offline_access scope to be enabled and requested in order for DokuWiki to request a refresh token.

Signed-off-by: Peter Kuehne <pkuehne@users.noreply.github.com>

* Update index.md

Signed-off-by: Peter Kuehne <pkuehne@users.noreply.github.com>

---------

Signed-off-by: Peter Kuehne <pkuehne@users.noreply.github.com>
Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
Peter Kuehne
2024-07-08 17:29:40 +01:00
committed by GitHub
parent 5c8a9abb33
commit 6aefe2d143

View File

@ -38,7 +38,7 @@ For _Oauthgeneric_:
- plugin»oauthgeneric»tokenurl: https://authentik.company/application/o/token/
- plugin»oauthgeneric»userurl: https://authentik.company/application/o/userinfo/
- plugin»oauthgeneric»authmethod: Bearer Header
- plugin»oauthgeneric»scopes: email, openid, profile
- plugin»oauthgeneric»scopes: email, openid, profile, offline_access
- plugin»oauthgeneric»needs-state: checked
- plugin»oauthgeneric»json-user: preferred_username
- plugin»oauthgeneric»json-name: name
@ -60,6 +60,8 @@ In authentik, under _Providers_, create an _OAuth2/OpenID Provider_ with these s
Note the _client ID_ and _client secret_, then save the provider. If you need to retrieve these values, you can do so by editing the provider.
To prevent users from needing to log in again as soon as the access token expires, include the _offline_access_ scope in both authentik and DokuWiki. This scope allows DokuWiki to use refresh tokens.
### Application
In authentik, create an application which uses this provider. Optionally apply access restrictions to the application using policy bindings.