Search code examples
strapi

Register new user in Strapi from UI using quickstart app?


Novice strapi tester here - from the --quickstart application, after adding an admin user, the /admin/auth/register redirects to /admin/auth/login always (incognito, new browser), is this expected behavior? Is it not possible to register normal, non-admin users via the UI, or am I missing something here? I have not touched any of the permissions or other settings, but did check that sign ups are turned on (looks like by default). Is the user registration url different from /admin/auth/register?

Strapi 3.0 beta 18.4


Solution

  • Here is the statement of User and Administrators in Strapi.

    When you create your application you have no admin and no users in your application.

    When you visit the admin panel for the first time, you have the same experience as Wordpress (for example) - you will need to create your first administrator.

    After that, you will never see again a "register" form. Only the "login" to connect to the Admin.

    To add a new admin, you will have to manually create it via the admin panel (username dropdown in the top right corner -> Manage the administrators)

    About Users, Strapi doesn't provide forms but only API routes that your front end application can use to register, login, reset password, ...

    https://strapi.io/documentation/3.0.0-beta.x/plugins/users-permissions.html#authentication