Skip to content

Database Connections

Database connections in AuthAction define how users sign up and sign in with email and password, or with passkeys. This guide covers creating and configuring database connections.

A Database Connection is an authentication method that stores user credentials (email/password or passkeys) in AuthAction’s user store. It is the primary way to support native sign-up and sign-in without relying on social providers.

  1. Log in to the AuthAction Dashboard.
  2. Select your tenant.
  3. Navigate to Connections > Database (or Database Connections).
  4. Click Create Connection or use the default database connection.
  5. Configure the connection settings.

To enable passwordless passkey authentication:

  1. Open the Database Connection settings.
  2. Locate the Enable Passkey option.
  3. Toggle it on.
  4. Save the changes.
  5. Ensure the connection is enabled for your applications.

See Passkey Authentication for user-facing passkey flows.

After creating a database connection, enable it for each application that should support it:

  1. Go to Applications and open the application.
  2. Under Connections, enable the database connection.
  3. Save the changes.
Database ConnectionSocial Connections
Users sign up with email/password or passkeyUsers sign in with Google, GitHub, etc.
AuthAction stores credentialsIdentity provider stores credentials
Full control over sign-up flowDelegated to third-party provider

You can enable both database and social connections for the same application.