|
| 1 | +--- |
| 2 | +title: Users & Permissions plugin settings - Strapi User Guide |
| 3 | +description: Instructions to configure the Users & Permissions plugin |
| 4 | +--- |
| 5 | + |
| 6 | +# Configuring Users & Permissions plugin settings |
| 7 | + |
| 8 | +The Users & Permissions plugin is managed from the *Users & Permissions plugin* settings section, accessible from *General > Settings* in the main navigation of the admin panel. This settings section allows to configure the available providers, email templates and the advanced settings of the plugin. It also allows to define the end-users roles and their related permissions (see [Configuring end-users roles](../users-roles-permissions/configuring-end-users-roles.md)). |
| 9 | + |
| 10 | +## Configuring providers |
| 11 | + |
| 12 | +The Users & Permissions plugin allows to enable and configure providers, for end-users to login via a third-party provider to access the content of a font-end application through the Strapi application API. By default, a list of providers is available including one, "Email", enabled by default for all Strapi applications with the Users & Permissions plugin installed. |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | +To enable and configure a provider: |
| 17 | + |
| 18 | +1. Go to the *Users & Permissions plugin > Providers* sub-section of the settings interface. |
| 19 | +2. Click on the provider to enable and configure. |
| 20 | +3. In the provider edition window, click on the **ON** button of the *Enable* option. |
| 21 | +4. Fill in the provider's configurations. Each provider has its own specific set of configurations, detailed in our developer documentation (see [Setting up the provider](https://strapi.io/documentation/developer-docs/latest/development/plugins/users-permissions.html#setting-up-the-provider-examples)). |
| 22 | +5. Click on the **Save** button. |
| 23 | + |
| 24 | +::: tip NOTE |
| 25 | +Other providers that are not proposed by default by Strapi can be added manually through the code of your Strapi application (see [Developer documentation](https://strapi.io/documentation/developer-docs/latest/development/plugins/users-permissions.html#adding-a-new-provider-to-your-project)). |
| 26 | +::: |
| 27 | + |
| 28 | +## Configuring email templates |
| 29 | + |
| 30 | +The Users & Permissions plugin uses 2 email templates, "Email address confirmation" and "Reset password", that are sent to end-users: |
| 31 | + |
| 32 | +- if their account must be confirmed to be activated, |
| 33 | +- if they need to reset the password of their Strapi account. |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | +To configure and edit email templates: |
| 38 | + |
| 39 | +1. Go to the *Users & Permissions plugin > Email templates* sub-section of the settings interface. |
| 40 | +2. Click on the name of the email template to configure and edit. |
| 41 | +3. Configure the email template: |
| 42 | + |
| 43 | +| Setting name | Instructions | |
| 44 | +| -------------- | -------------------------------------------------------------------------------------------------| |
| 45 | +| Shipper name | Indicate the name of the shipper of the email. | |
| 46 | +| Shipper email | Indicate the email address of the shipper of the email. | |
| 47 | +| Response email | (optional) Indicate the email address to which responses emails from the end-users will be sent. | |
| 48 | +| Subject | Write the subject of the email. Variables can be used (see [Developer documentation](https://strapi.io/documentation/developer-docs/latest/development/plugins/users-permissions.html#templating-emails)). | |
| 49 | + |
| 50 | +4. Edit the content of the email in the "Message" textbox. Email templates content is in HTML and uses variables (see [Developer documentation](https://strapi.io/documentation/developer-docs/latest/development/plugins/users-permissions.html#templating-emails)). |
| 51 | +5. Click on the **Save** button. |
| 52 | + |
| 53 | +## Configuring advanced settings |
| 54 | + |
| 55 | +All settings related to the Users & Permissions plugin are managed from the *Advanced Settings* sub-section, including the choice of a default role for end-users, the enablement of sign-ups and email confirmation, as well as the choice of landing page for resetting a password. |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | +1. Go to the *Users & Permissions plugin > Advanced settings* sub-section of the settings interface. |
| 60 | +2. Configure the settings: |
| 61 | + |
| 62 | +| Setting name | Instructions | |
| 63 | +| ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
| 64 | +| Default role for authenticated users | Click the drop-down list to choose the default role for new end-users. | |
| 65 | +| One account per email address | Click on the **ON ** button to limit to 1 the number of end-user accounts with the same email address. Click on **OFF ** to disable this limitation and allow several end-users accounts to be associated with the same email addess (e.g. `[email protected]` can be used when logging in via several different providers). | |
| 66 | +| Enable sign-ups | Click on the **ON** button to enable end-users sign-ups. Click on **OFF** to prevent end-users registration to your front-end application(s). | |
| 67 | +| Reset password page | Indicate the URL of the reset password page for your front-end application(s). | |
| 68 | +| Enable email confirmation | Click on the **ON** button to enable end-users account confirmation by sending them a confirmation email. Click on **OFF** to disable account confirmation. | |
| 69 | +| Redirection url | Indicate the URL of the page where end-users should be redirected after confirming their Strapi account. | |
0 commit comments