Skip to main content
Authenticate user step

Learn about the Authentication step: its characteristics, options, and common use.

Updated over 5 months ago

After reading this article, you’ll know:

  • What the Authentication step is and its major options

  • How to use the Authentication step in your application

What is the Authentication user step?

The Authentication user step enables end-users of your application to log in and execute private actions. Usually, it is applied when a user needs access to some specific functionality in an application.

The Authenticate user step in actions

The Authenticate user step is automatically included in the action that is generated when a user drags the login form component onto their page canvas. Have a look to see how that action is generated to gather inspiration!

Options

The Authentication user step can be configured with the following options:

  • Authentication profile. Here you can add currently supported authentication profiles. See the Authentication profiles page for more information.

  • Based on the chosen authentication profile, the builder is able to configure the inputs for the profile:

    • User name and password: the variables containing the username and password which will be used to authenticate the end-user. Shown if the builder chose to use the username/password authentication profile.

    • Record ID: the variable containing a record ID of the user to be authenticated. Shown if the builder chose the custom authentication profile.

  • As. State the name of the variable containing the result of the authentication execution.

Using the Authentication user step

The Authenticate user step is a necessity if you are using a username/password or custom login in your application.

In this example we are looking at a username/password login, to set this up we need a few things:

  1. A web user model that covers the properties of your login, like a text based username and a password property to safely store a password in

  2. An authentication profile

  3. A login page, based on a page template or self-made!

    1. The login page contains a login form, which passes the necessary user information to your action

  4. Your Authenticate user action: from your form, a username and password will be parsed to your action. The login component will create and connect these for you in the Authenticate user step

    1. With a custom form, create the input variables in the input segment of your action

  5. View the Authenticate user step, and assign the username and password variable to the corresponding fields in the action step options. Set a value for the AS field, as it will be the return value of the user login

  6. Set the return value of the Authenticate user step as the output variable in the finish step

Once the action has been created and the settings configured, you can use the login to allow users to access your application. To add these users to your application you can either use a register page template or create one yourself, for more information on that see our article on creating the register functionality for webusers.

The Authenticate user step is a unique step and is necessary for a secure application, so make sure you dive into testing its capabilities and provide a safe online environment!

Did this answer your question?