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.
What Is a Database Connection?
Section titled “What Is a Database Connection?”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.
Creating a Database Connection
Section titled “Creating a Database Connection”- Log in to the AuthAction Dashboard.
- Select your tenant.
- Navigate to Connections > Database (or Database Connections).
- Click Create Connection or use the default database connection.
- Configure the connection settings.
Enabling Passkeys
Section titled “Enabling Passkeys”To enable passwordless passkey authentication:
- Open the Database Connection settings.
- Locate the Enable Passkey option.
- Toggle it on.
- Save the changes.
- Ensure the connection is enabled for your applications.
See Passkey Authentication for user-facing passkey flows.
Enabling for Applications
Section titled “Enabling for Applications”After creating a database connection, enable it for each application that should support it:
- Go to Applications and open the application.
- Under Connections, enable the database connection.
- Save the changes.
Connection vs. Social Connections
Section titled “Connection vs. Social Connections”| Database Connection | Social Connections |
|---|---|
| Users sign up with email/password or passkey | Users sign in with Google, GitHub, etc. |
| AuthAction stores credentials | Identity provider stores credentials |
| Full control over sign-up flow | Delegated to third-party provider |
You can enable both database and social connections for the same application.
Related
Section titled “Related”- Applications: Enable connections for your apps.
- Passkey Authentication: User-facing passkey setup and login.