Skip to content

Commit

Permalink
website/integrations: add offline_access scope to DokuWiki (#10208)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
pkuehne and rissson authored Jul 8, 2024
1 parent 5c8a9ab commit 6aefe2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/integrations/services/dokuwiki/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit 6aefe2d

Please sign in to comment.