From 370831e85cb4a4ee7e101c217b819b47c24c19c6 Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Thu, 3 Oct 2024 11:03:14 +0200 Subject: [PATCH] add details about the provisioning options in the README Signed-off-by: Julien Veyssier --- README.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/README.md b/README.md index 278aba30..cdc60ed8 100644 --- a/README.md +++ b/README.md @@ -190,6 +190,41 @@ is enabled. ], ``` +### 4 Provisioning scenarios + +* Create users if they don't exist + * Accept connection of existing users (from other backends) and update their attributes: + ``` php + 'user_oidc' => [ + 'auto_provision' => true, // default: true + 'soft_auto_provision' => true, // default: true + ], + ``` + * Do not accept connection of users existing in other backends: + ``` php + 'user_oidc' => [ + 'auto_provision' => true, // default: true + 'soft_auto_provision' => false, // default: true + ], + ``` +* Do not create users if they don't exist + * Update attributes of existing users (create by user_oidc or any other backend): + ``` php + 'user_oidc' => [ + 'auto_provision' => true, // default: true + 'soft_auto_provision' => true, // default: true + 'disable_account_creation' => true, // default: false + ], + ``` + * Do not update attributes of existing users: + ``` php + 'user_oidc' => [ + 'auto_provision' => false, // default: true + ], + ``` + + + ### UserInfo request for Bearer token validation The OIDC tokens used to make API call to Nextcloud might have been generated by an external entity.