Migrating from Another Provider
Bring the accounts, and the passwords where we can
The importer takes a vendor's export verbatim and creates users, identifiers and — where the hash format allows — working credentials, so most people sign in afterwards with the password they already had.
Supported sources
Clerk, Auth0 and Firebase. Rows go in exactly as the vendor wrote them — you do not reshape the export first. Firebase additionally needs its project-wide hash_config, which is the same for every user in the export.
The shape of a migration
begin— open a job, naming the source, the environment and how many rows to expect.ingest— send pages of users. Repeat until the export is exhausted.status— how far it has got, and what failed.finish— close the job. Orcancel.pending-resets— list everyone whose password did not come across.send-resets— email those people, in bounded batches.
Rehearse in sandbox first
sandbox. Sandbox and production identities are separate people, so a sandbox run is a genuine rehearsal with no production consequences — do one, check pending-resets, and only then run production.Passwords that cannot come across
Plan the migration around this, not around the import
pending-resets exists.The remedy is send-resets: a reset email to exactly the affected people. Batches are capped at 200 per call and default to 50 — deliberately, because every one of those is an email that costs money and can earn a spam complaint. You page through on purpose rather than asking for "all of them" and discovering the consequences afterwards.
What comes across, and what does not
| Carried over | Not carried over |
|---|---|
| Users and their identifiers (email, phone, username) | Second factors. TOTP secrets are not portable — enrolled users re-enrol |
| Verification state | Passkeys. Bound to the old origin; users register new ones |
| Password hashes, where the format is supported | Sessions. Everyone signs in once after the cutover |
A cutover that does not strand anyone
- Import into sandbox and sign in as a few real-looking users.
- Read
pending-resets. If it is most of your users, stop and reconsider — a mass reset email is a bad first impression at scale. - Configure your own email provider before production. BillDog will not send auth mail as billdog.io, and a reset from an unfamiliar domain reads as phishing.
- Run production close to the switchover, so the export is not stale.
- Switch your app to BillDog Auth.
- Send resets to the affected group, in batches, watching bounce and complaint rates.
- Keep the old provider readable for a while. You cannot re-derive a hash you failed to import.
Before you start
- Auth must be enabled on the project, and the project must be in the US data region — credentials are US-resident and a project elsewhere cannot enable auth at all.
- Decide your organization structure first. Importing users and then discovering they all need to be in organizations is a second migration.
- If you are moving from a provider whose user IDs you store elsewhere, keep a mapping — BillDog issues its own.
Next
- Passwords — the policy new sign-ups meet.
- Organizations
Was this page helpful?
Or rate this page: