Skip to content

Onboarding New Hostname

This guide walks you through the steps to onboard a new hostname in Mindful Auth, enabling authentication services for your custom domain.

  1. Log in to the Mindful Auth admin portal at https://app.mindfulauth.com using your admin credentials and in the dashboard page click on the “Connect New Portal” button.
  2. You will be redirected to a page to select a backend type. Choose the backend you set up in step 4 of the Mindful Auth Setup Guide.
  3. A form will appear prompting you to enter the following details:
  • Hostname: Enter your portal’s hostname (e.g., portal.example.com). The hostname must be a subdomain. No www, http://, or paths.
  • Login Success Redirect URL: Enter the url path where users should be redirected after a successful login. The url will always have {memberid} at the beggining, for example, /{memberid}/dashboard.
  • Turnstile Site Key: Enter the site key obtained from Cloudflare Turnstile.
  • Turnstile Secret Key: Enter the secret key obtained from Cloudflare Turnstile.
  • Session Duration: Select the desired session duration tier based on your requirements. The available options are:
    • 15 minutes
    • 1 hour
    • 8 hours
    • 12 hours
    • 1 day
    • 2 days
    • 3 days
    • 4 days
    • 5 days
    • 7 days
    • 14 days
    • 21 days
    • 30 days
  • Number of Active Sessions: Select the desired active sessions based on your expected user load.
    • one
    • three
    • five
    • ten
  • Audit Logs Status: Toggle to enable or disable audit logging for the hostname. Audit logs capture important security events and user activities. (BUSINESS PLAN REQUIRED)
  • Email Webhook URL: Enter the URL of your email webhook. This single webhook handles all email events (verification, password reset, and magic login) using the event_type field to differentiate between them.

The backend configuration section will vary based on the backend type you selected in step 4. Select the backend from the tabs below and fill in the required fields:

  • Tape API Key: Your Tape workspace API key
  • Tape Members App ID: Tape app ID containing user/member records
  • Tape Email Field ID: Field ID for email address in Members app
  • Tape Audit Logs App ID: Tape app ID for audit log records (BUSINESS PLAN REQUIRED)
  • D1 API Token: Cloudflare API token with D1 permissions
  • D1 Account ID: Your Cloudflare account ID
  • D1 Database ID: Your D1 database ID
  • D1 Members Table: Table name for members/users table
  • D1 Email column: Column name for email address in members/users table
  • D1 Audit Logs Table: Table name for audit log records (BUSINESS PLAN REQUIRED)