If you already have registered users, you can bring them to your new platform. There are two options: a one-time import of your user database, or an ongoing integration with your existing login system via OAuth 2.0 or OpenID Connect.
Availability: GROW and PRO plans.
Option 1: one-time import
We import your users once into our database. Prepare the following:
- Create a test user in your database.
- Export the database row of this test user, including the column names.
- Send us the test user's user name and password and the password hashing algorithm, for example bcrypt, if you know it.
Example of a database export:
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
CREATE TABLE `be_users` (
`id` int(10) UNSIGNED NOT NULL,
`first_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`last_name` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`username` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`email` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`password` varchar(60) COLLATE utf8_unicode_ci NOT NULL,
`gender` enum('M','F') COLLATE utf8_unicode_ci NOT NULL,
`birthday` datetime DEFAULT NULL,
`accept_notifications` tinyint(1) DEFAULT NULL,
`accept_sharing` tinyint(1) DEFAULT NULL,
`accept_personal_data` tinyint(1) DEFAULT NULL,
`remember_token` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
`is_logged` tinyint(1) NOT NULL DEFAULT '0',
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `be_users` (`id`, `first_name`, `last_name`, `username`, `email`, `password`, `gender`, `birthday`, `accept_notifications`, `accept_sharing`, `accept_personal_data`, `remember_token`, `is_logged`, `created_at`, `updated_at`) VALUES
(28774, NULL, NULL, 'testuser-bal', 'test@test.test', '$2y$10$fKm6UoynjcE3cDoM5oVm3.WHXWTIv5hhyohExw2t83pOGqCUXU', NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL);
ALTER TABLE `be_users`
ADD PRIMARY KEY (`id`),
ADD UNIQUE KEY `be_users_username_unique` (`username`),
ADD UNIQUE KEY `be_users_email_unique` (`email`);
ALTER TABLE `be_users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28776;
COMMIT;
- Column names: send all column names, so we can map your user data correctly.
- Password hashing: tell us the hashing algorithm, so your users can keep their passwords.
Important: Only send the test user, not real user data, until we have agreed on the import with you. Use a secure channel for the export.
Option 2: ongoing integration
Your users keep logging in with your existing system, and we connect to it via OAuth 2.0 or OpenID Connect. Answer these questions for us:
- Which backend system do you use?
- How is authentication handled today?
- Does your system support OAuth 2.0 or OpenID Connect?
- Can you add new API endpoints if needed?
- Do you have direct access to the database?
- Which type of database do you use?
Next steps
- For an import: send us the test user and the database structure.
- For an integration: send us your answers about your login system and database.