Skip to content

Commit

Permalink
feat: how to use user require approval
Browse files Browse the repository at this point in the history
Signed-off-by: Léo-Paul HAUET <[email protected]>
  • Loading branch information
IC-1101asterisk committed Jul 18, 2023
1 parent 3a25d15 commit 541ebb8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/source/operations/howto/sso-oidc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ The provider will give you a **client id** and a **client secret**. Deploy them
Set up user creation
====================

When a user first logs in through OIDC, they are assigned a username and a channel.
When a user first logs in through OIDC, they are assigned a username.
The username is based on user email. the ``oidc.users.appendDomain`` flag controls whether email domain is included.

You must select a channel to which the OIDC users will be assigned with ``oidc.users.channel``.
You have two options when it comes to user creation:

The username is based on user email; the ``oidc.users.appendDomain`` flag controls whether email domain is included.
* You can set up a default channel by setting ``oidc.users.channel`` to the name of an existing channel.
* Alternatively, you can set ``oidc.users.requireApproval`` to ``true``. Users created using the OIDC provider of your choice will be visible on the front end waiting approval from an admin.

Note on user validity
---------------------
Expand Down

0 comments on commit 541ebb8

Please sign in to comment.