Skip to content

Commit

Permalink
add details about the provisioning options in the README
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Oct 3, 2024
1 parent f77068a commit 370831e
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 370831e

Please sign in to comment.