Templates

Signup form with phone OTP verification with custom API template

Verify your users' phone number sending them a one-time-password (OTP) and sign them up with a custom API.

Templates
Signup form with phone OTP verification with custom API

About this template

This signup form with a custom API and phone OTP verification includes:

  1. An initial step that requires the full name, email and password.
  2. A flow that checks if the email is available.
  3. A second step that requires the phone number.
  4. A flow that generates an OTP and sends it via SMS.
  5. A third step that requires the verification code.
  6. And last, a flow that verifies the OTP, creates the account and issues a token to automatically log the user in.

How to configure this template

Requirements

1. A custom API to sign up and log in users.

This template uses the Arengu Demo User API to sign up users.

For testing configure an HTTP request connection to our Demo API with this Bearer Token:

JnUjNjUmZWZLTW93NjFkOG8zeFRlI3NYbWphem5GZSZIMXlFSmVZeVlMRk03XjhCTGRBQUBAOEtvJDlGdnRNRg

It can be reconfigured to use with your own User API.

2. An SMS provider to send the SMS.

This template uses a test-only action to send SMS. Consider replacing it by your own SMS provider (eg. Twilio) before using it in production to avoid limitations.

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

Need some inspiration?

Discover our best practices guides to design the perfect signup flow, examples of other SaaS companies, and success stories of our clients.

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.