From 6b627c6db7c4b82c97bc0e04c372b74b9e2a14f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Lyng=20J=C3=B8rgensen?= Date: Thu, 17 Apr 2025 21:51:59 +0200 Subject: [PATCH] add commands to generate client id and secret --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index c994a2c..8b0cd60 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,16 @@ APP_ICONS="nextcloud:~/.abra/recipes/authentik/icons/nextcloud.png" Set the nextcloud Icon using `abra app cmd -l -d set_icons` +Generate OAuth client id and secret using `abra app secret generate -a` (all secrets) or individually: +- `abra app secret generate nextcloud_id` +- `abra app secret generate nextcloud_secret` + +Add the id and secret to nextcloud as secrets with: +- `abra app secret insert authentik_id v1 ` +- `abra app secret insert authentik_secret v1 ` + +Redeploy Authentik to enable the nextcloud client. + The configuration inside Nextcloud can be found in the [nextcloud recipe](https://git.coopcloud.tech/coop-cloud/nextcloud#authentik-integration) ## Add LDAP outpost