Keep your users where they are: connect an existing database

If your application already stores users in PostgreSQL, MySQL or MongoDB, SyAuth can authenticate against those records through a custom database connection. You map the fields and write action scripts for lookup, login and the user operations you need, so you can adopt SyAuth without moving every user first.

How it works

  1. Create a custom database connection and test connectivity from the dashboard.
  2. Map your table or collection fields to SyAuth user fields.
  3. Write action scripts for lookup, login and, if needed, creation and counting.
  4. Validate with test records, then enable the connection for your application's login.

Plans

Custom database connections are part of the Enterprise plan. Pricing

Good to know

  • Connecting a database does not replicate or migrate users automatically.
  • Password handling and write behaviour depend on your schema and scripts.

Read the docs: Existing user databases

Frequently asked questions

Can SyAuth use my existing user table?

Yes, on the Enterprise plan: connect PostgreSQL, MySQL or MongoDB with field mappings and action scripts.

Do I have to migrate my users to SyAuth?

No. With a custom database connection, users can stay in your database while SyAuth handles sign-in.

Which databases are supported?

PostgreSQL, MySQL and MongoDB.

Related features

Free for up to 30,000 registered users

Start on the free plan and upgrade when your project grows.

Last updated

Use your existing user database (PostgreSQL, MySQL, MongoDB) | SyAuth