Templates

Custom policies acceptance with Auth0 template

Require your users to accept custom policies the next time they sign in or when they create an account.

Templates
Custom policies acceptance with Auth0

About this template

This use case requires all your users to agree to a new terms of service form before allowing them access to your application. It will be displayed to the users who have not yet accepted it.

The template consists of:

  • A form to display the new terms and conditions, with a legal field to accept them.
  • A flow that will check the session token and update the app metadata in Auth0.

To configure it you will only need:

  • An active Auth0 account to authenticate users with this action.

How to configure this template

Requirements

Once the template is imported into the Arengu editor, to configure it, you will need:

Configure the Arengu’s Auth0 - Update policies flow

Go to the Flows tab on the light gray menu and open the flow in a new tab. 

Edit the Verify JSON web token and Sign JSON web token actions:

  • Secret or public key: This is a string to be used to verify the JSON web token. Must be the same secret in both actions. 

Configure the Auth0’s Arengu Policy Acceptance Action

At Auth0’s Dashboard > Marketplace > Search “Arengu Policy Acceptance Action” and Add integration. Once it has been integrated into Auth0’s Library, you will need:

  • Arengu Form URL: This URL can be gathered when doing a public preview of the Arengu form or preferably the URL where the Arengu form is embedded.
  • Arengu Session Token: This is the secret or public key which was configured in the Arengu flow, Verify JSON web token and Sign JSON web token actions.

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.