Set up user authentication

  1. In Builder for your site, click Header in the side menu.
  2. Click the Login block.
  3. In the Add logged users to to drop-down list, select New Login.

Note

As a result, the Login project with user authentication by email address and password will be automatically created. For the created Login project the URL of Web Shop will be specified as an URL that the user will be redirected to in the following cases (callback URL):

  • after successful authentication
  • after successful email confirmation
  • after password reset
  • in case of authentication failure

When you change the domain of Web Shop, the callback URL in the Login project settings changes automatically.

  1. Go to Login project settings from the modal window or click Set up login methods in the Login block.
  2. On the Social networks tab, set up social networks via which user authentication will be available (optional).

Note

For authentication in Web Shop, set up the same social networks as for authentication in your application. If social networks are not set up, user authentication by email address and password will be available.

When setting up the authentication in Web Shop via social networks, use the same Application ID and Application Secret as for authentication in your application.

  1. Connect user data storage.

Depending on the method of storing user data, different product functionality is available to you.

Your progress
Thank you for your feedback!

Continue reading

Last updated: December 28, 2021

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!