Skip to content

Commit 970a1ef

Browse files
website/integrations: nextcloud add back-channel logout documentation (#21147)
* website/integrations: nextcloud add back-channel logout documentation Signed-off-by: LuisThe0ne <76198980+LuisThe0ne@users.noreply.github.com> * wip --------- Signed-off-by: LuisThe0ne <76198980+LuisThe0ne@users.noreply.github.com> Co-authored-by: Dominic R <dominic@sdko.org>
1 parent a6e90eb commit 970a1ef

File tree

1 file changed

+11
-0
lines changed
  • website/integrations/chat-communication-collaboration/nextcloud

1 file changed

+11
-0
lines changed

website/integrations/chat-communication-collaboration/nextcloud/index.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,17 @@ Depending on your Nextcloud configuration, you may need to use `https://nextclou
168168
If you're using the `Nextcloud Profile` property mapping and want administrators to retain their ability to log in, make sure that **Use unique user ID** is disabled. If this setting is enabled, it will remove administrator users from the internal admin group and replace them with a hashed group ID named "admin," which does not have real administrative privileges.
169169
:::
170170

171+
## Enabling OIDC back-channel logout
172+
173+
To automatically log users out of their Nextcloud sessions when they log out of authentik, enable back-channel logout.
174+
175+
1. Log in to Nextcloud as an administrator and navigate to **Settings** > **OpenID Connect**.
176+
2. Under **Registered Providers**, locate the provider with the identifier used earlier.
177+
3. Copy the `back-channel-logout-URL` value for that provider. For example: `https://nextcloud.company/apps/user_oidc/backchannel-logout/<identifier>`
178+
4. In authentik, navigate to **Applications** > **Providers** and edit the Nextcloud provider.
179+
5. Under **Protocol Settings**, set the **Logout URI** to the copied back-channel logout URL.
180+
6. Set the **Logout Method** to `Back-channel`.
181+
171182
## Making OIDC the default login method
172183

173184
Automatically redirect users to authentik when they access Nextcloud by running the following command on your Nextcloud docker host:

0 commit comments

Comments
 (0)