2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +00:00

sso dynmaic settings

This commit is contained in:
Matthias Mair 2021-09-08 09:44:26 +02:00
parent 738add06bd
commit 0880745078
2 changed files with 21 additions and 0 deletions

View File

@ -11,3 +11,21 @@ InvenTree ships with a lot of dynmaic settings. While [config file settings](../
Change how InvenTree apears to the individual user and configure login and user data.
### Global Settings
#### Login Settings
Change how logins, password-forgt, signups are handled.
| Settings Name | Type | Description | Default |
| --- | --- | --- | --- |
| Enable registration | True/False | Enable self-registration for users on the login-pages | False |
| Enable SSO | True/False | Enable SSO on the login-pages | False |
| Enable password forgot | True/False | Enable password forgot function on the login-pages[^3] | True |
| E-Mail required | True/False | Require user to supply e-mail on signup[^1] | False |
| Mail twice | True/False | On signup ask users twice for their mail | False |
| Password twice | True/False | On signup ask users twice for their password | True |
| Auto-fill SSO users | True/False | Automatically fill out user-details from SSO account-data[^2] | True |
[^1]: Without a way (e-mail) to contact the user notifications and security features might not work!
[^2]: If this feature is enabled the user is only asked for their username, first- and surname if those values can not be gathered from their SSO profile. This might lead to unwanted usernames bleading over.
[^3]: This will let users reset their passwords on their own. For this feature to work you need to configure E-mail

View File

@ -130,6 +130,9 @@ SSO backends for all wanted providers need to be added to the config file as a l
If the selected providers need additional settings they must be added as dicts under the key `social_providers`. The correct settings can be found in the django-allauths [provider documentation](https://django-allauth.readthedocs.io/en/latest/providers.html).
!!! note "You are not done"
SSO still needs credentials for all providers and has to be enabled in the [settings](../admin/settings.md)!
### Login Options