Templates

Signup form with Auth0 template

Learn how to add custom fields to your signup flow using Auth0.

Templates
Signup form with Auth0

About this template

This signup form with Auth0 includes:

  1. An initial form step that requires profile information such as: company name and job title.
  2. A flow that resumes the authentication flow with Auth0 passing those variables.

How to configure this template

Requirements

1. An Auth0 account.

2. Adding Arengu Progressive Profiling action to Auth0 with the following settings:

  • Arengu Form URL
  • Required user fields
  • Login count for profiling
  • Arengu session token

Arengu Form URL

The URL where you will embed your form. For testing purposes you can use the form preview page (eg. https://preview.arengu.page/YOUR_FORM_ID)

Required user fields

We will add the "company_name" and "job_title" fields.

In this template, Arengu will store those variables inside the "user_metadata" Auth0 property. If you want to require additional or different fields, remember to add them to the "Sign JSON web token" action:

Login count for profiling

We will set this value to 1, as we want this step, as required, for all users that sign up and before allowing them access.

Arengu session token

Add a long random string that we will use to securely communicate between Arengu and Auth0:

After configuring the secret token at Auth0, make sure to add it to the "Verify JSON web token" and "Sign JSON web token" actions in all the Arengu flows:

A native experience for your brand

Style our forms following your brand guidelines and embed them into your frontend framework with a single line of code.

Explore the docs

Integrate this template with your own stack

Send your data back and forth between Arengu and your favourite apps.

Getting started with Arengu

Arengu allows you to build all your user flows connected to your current stack, and avoids coding all the UI, complex integrations, validations or logic from scratch. Try it for free and start building faster and scaling your application needs as they grow.