# \#custom-database

**URL:** https://community.auth0.com/tag/custom-database/162.md

[Latest](https://community.auth0.com/latest.md) · [Categories](https://community.auth0.com/categories.md) · [Tags](https://community.auth0.com/tags.md)

---

## [Moving users out of a Base44 app: can they keep their passwords?](https://community.auth0.com/t/moving-users-out-of-a-base44-app-can-they-keep-their-passwords/205287)

<div class="topic-metadata">

**Author:** [@n001spartan](https://community.auth0.com/u/n001spartan)\
**Replies:** 1\
**Last updated:** [November 11, 2026, 2:28pm UTC](https://community.auth0.com/t/moving-users-out-of-a-base44-app-can-they-keep-their-passwords/205287 "2026-11-11T14:28:32Z")

</div>

We’re moving an app off Base44 onto our own stack and the part I’m stuck on is the users. As far as I can tell Base44 doesn’t let you export password hashes, so a normal user export would force everyone to reset their pa…

---

## [Space not allowed for username despite Import mode disabled](https://community.auth0.com/t/space-not-allowed-for-username-despite-import-mode-disabled/203388)

<div class="topic-metadata">

**Author:** [@alex57](https://community.auth0.com/u/alex57)\
**Replies:** 3\
**Last updated:** [September 17, 2026, 6:08pm UTC](https://community.auth0.com/t/space-not-allowed-for-username-despite-import-mode-disabled/203388 "2026-09-17T18:08:14Z")

</div>

We have a custom database for our Auth0 application. We tried to send a password change ticket to Auth0. It responded with: "DB Custom script (get\_user): invalid fields. Username can only contain alphanumeric character…

---

## [Option to disable import users to Auth0 after custom database disconnect](https://community.auth0.com/t/option-to-disable-import-users-to-auth0-after-custom-database-disconnect/197028)

<div class="topic-metadata">

**Author:** [@TRH](https://community.auth0.com/u/TRH)\
**Replies:** 1\
**Last updated:** [February 27, 2026, 8:07pm UTC](https://community.auth0.com/t/option-to-disable-import-users-to-auth0-after-custom-database-disconnect/197028 "2026-02-27T20:07:35Z")

</div>

Hello Auth0, see the detailed discription below. Cheers, Toby Feature: Option to disable import users to Auth0 after custom database disconnect. Description: The documentation Configure Automatic Migration from Your…

---

## [Choose a default Database Connection during an authorization request without affecting enterprise connections](https://community.auth0.com/t/choose-a-default-database-connection-during-an-authorization-request-without-affecting-enterprise-connections/186633)

<div class="topic-metadata">

**Author:** [@auth037](https://community.auth0.com/u/auth037)\
**Replies:** 3\
**Last updated:** [February 10, 2026, 11:28pm UTC](https://community.auth0.com/t/choose-a-default-database-connection-during-an-authorization-request-without-affecting-enterprise-connections/186633 "2026-02-10T23:28:04Z")

</div>

We’re configuring SSO between two Auth0 organizations—each with its own Auth0 database connection—but we need users in one organization to be able to log into the other. To make that work, each organization must enable t…

---

## [Migrating Google Firebase Users Into Auth0](https://community.auth0.com/t/migrating-google-firebase-users-into-auth0/186825)

<div class="topic-metadata">

**Author:** [@sam.yapkowitz](https://community.auth0.com/u/sam.yapkowitz)\
**Replies:** 0\
**Last updated:** [May 16, 2025, 4:14pm UTC](https://community.auth0.com/t/migrating-google-firebase-users-into-auth0/186825 "2025-05-16T16:14:37Z")

</div>

If you’re using Firebase for user authentication and want to integrate with Auth0, a Custom Database Connection is a great solution. This allows you to authenticate your Firebase users (with email and password) directly …

---

## [Feature Request: Support Assigning Users to Organizations in Custom Database Login Scripts](https://community.auth0.com/t/feature-request-support-assigning-users-to-organizations-in-custom-database-login-scripts/167842)

<div class="topic-metadata">

**Author:** [@ammo](https://community.auth0.com/u/ammo)\
**Replies:** 1\
**Last updated:** [January 14, 2025, 12:48pm UTC](https://community.auth0.com/t/feature-request-support-assigning-users-to-organizations-in-custom-database-login-scripts/167842 "2025-01-14T12:48:46Z")

</div>

Context When implementing lazy migration with organizations, a common scenario arises where legacy users need to be assigned to specific organizations during the login process. Currently, there is no straightforward way …

---

## [Custom DB not connecting from auth0](https://community.auth0.com/t/custom-db-not-connecting-from-auth0/95544)

<div class="topic-metadata">

**Author:** [@mail2ganeshks](https://community.auth0.com/u/mail2ganeshks)\
**Replies:** 2\
**Last updated:** [December 21, 2022, 3:43pm UTC](https://community.auth0.com/t/custom-db-not-connecting-from-auth0/95544 "2022-12-21T15:43:12Z")

</div>

Hi Team, Query 1: I am trying to connect my local database with auth0 using custom database connection but it is not allowing me to connect it. I have even revisited the firewall changes and also I have exposed my mach…

---

## [Error cb.apply is not a function from PostgresSQL Database Action Script Template](https://community.auth0.com/t/error-cb-apply-is-not-a-function-from-postgressql-database-action-script-template/89993)

<div class="topic-metadata">

**Author:** [@jfletcher](https://community.auth0.com/u/jfletcher)\
**Replies:** 2\
**Last updated:** [November 4, 2022, 2:04pm UTC](https://community.auth0.com/t/error-cb-apply-is-not-a-function-from-postgressql-database-action-script-template/89993 "2022-11-04T14:04:58Z")

</div>

I am trying to connect to my PostgresSQL database hosted on Heroku through Auth0’s Database Connections. I am following the postgresSQL template as closely as possible; however, I am getting an Error: cb.apply is not a…

---

## [Post dbConnections/signup returns 400](https://community.auth0.com/t/post-dbconnections-signup-returns-400/90384)

<div class="topic-metadata">

**Author:** [@jfletcher](https://community.auth0.com/u/jfletcher)\
**Replies:** 5\
**Last updated:** [September 16, 2022, 6:23pm UTC](https://community.auth0.com/t/post-dbconnections-signup-returns-400/90384 "2022-09-16T18:23:49Z")

</div>

I am trying to test my database create user script by hitting my dbConnections/signup endpoint with an insomnia Post Request. I have confirmed that my database has the “disable signups” option turned off. Here is my req…

---

## [Custom user database with oidc](https://community.auth0.com/t/custom-user-database-with-oidc/86138)

<div class="topic-metadata">

**Author:** [@mattymillar](https://community.auth0.com/u/mattymillar)\
**Replies:** 5\
**Last updated:** [June 30, 2022, 3:23pm UTC](https://community.auth0.com/t/custom-user-database-with-oidc/86138 "2022-06-30T15:23:47Z")

</div>

I have a database with existing users and I want to be able to log them in with oidc. They were not registered via Auth0. I have added a custom-database connection and a login action script that works, but if I add oidc…

---

## [Using argon2 in custom database](https://community.auth0.com/t/using-argon2-in-custom-database/85700)

<div class="topic-metadata">

**Author:** [@nannigalaxy](https://community.auth0.com/u/nannigalaxy)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 5:29pm UTC](https://community.auth0.com/t/using-argon2-in-custom-database/85700 "2022-06-28T17:29:20Z")

</div>

I’m new to auth0 and node.js. I wanted integrate auth0 with custom database and use argon2 encryption package for storing passwords. I was able add this but getting error while signup and log says object null is not iter…

---

## [Enforcing password strength with custom database and no user migration](https://community.auth0.com/t/enforcing-password-strength-with-custom-database-and-no-user-migration/84413)

<div class="topic-metadata">

**Author:** [@matt.o](https://community.auth0.com/u/matt.o)\
**Replies:** 1\
**Last updated:** [June 1, 2022, 6:52pm UTC](https://community.auth0.com/t/enforcing-password-strength-with-custom-database-and-no-user-migration/84413 "2022-06-01T18:52:51Z")

</div>

We are using a custom database as well as a custom styled universal login page. We are not using the user migration feature. We are only allowing password resets through Auth0, however I don’t see how to enable the passw…

---

## [Configuring PostgreSQL Locally for Auth0 Custom DB](https://community.auth0.com/t/configuring-postgresql-locally-for-auth0-custom-db/83605)

<div class="topic-metadata">

**Author:** [@wisenickel5](https://community.auth0.com/u/wisenickel5)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 11:45pm UTC](https://community.auth0.com/t/configuring-postgresql-locally-for-auth0-custom-db/83605 "2022-05-17T23:45:31Z")

</div>

Greetings, I have been reading through this article that shows how someone can start up a PostgreSQL instance and use it as a custom DB with Auth0. Is it possible to use a local instance of PostgreSQL for a Custom DB co…

---

## [Create user in custom db from enterprise saml connection](https://community.auth0.com/t/create-user-in-custom-db-from-enterprise-saml-connection/45557)

<div class="topic-metadata">

**Author:** [@nathan.breaux](https://community.auth0.com/u/nathan.breaux)\
**Replies:** 2\
**Last updated:** [April 8, 2022, 1:23am UTC](https://community.auth0.com/t/create-user-in-custom-db-from-enterprise-saml-connection/45557 "2022-04-08T01:23:10Z")

</div>

Our ordering system requires a user to be created in our custom db to be able to place an order. We have customers wanting to use their SAML connections as IDP’s for login. Is there a flow/is it possible to create a user…

---

## [Question about using Auth0 login and storing associated user data into external database for website project](https://community.auth0.com/t/question-about-using-auth0-login-and-storing-associated-user-data-into-external-database-for-website-project/79622)

<div class="topic-metadata">

**Author:** [@zanderphi](https://community.auth0.com/u/zanderphi)\
**Replies:** 3\
**Last updated:** [March 11, 2022, 8:36am UTC](https://community.auth0.com/t/question-about-using-auth0-login-and-storing-associated-user-data-into-external-database-for-website-project/79622 "2022-03-11T08:36:39Z")

</div>

Hi, I’m developing a website using auth0 as my login authenticator. My website allows users to create an account and sign in, where they’re able to create a list of items. Currently, my project is deployed on heroku, wit…

---

## [Custom database: signup returns vague error when user already exists](https://community.auth0.com/t/custom-database-signup-returns-vague-error-when-user-already-exists/72970)

<div class="topic-metadata">

**Author:** [@martinmaillard](https://community.auth0.com/u/martinmaillard)\
**Replies:** 1\
**Last updated:** [November 11, 2021, 6:59pm UTC](https://community.auth0.com/t/custom-database-signup-returns-vague-error-when-user-already-exists/72970 "2021-11-11T18:59:09Z")

</div>

I’m using a “custom database” connection and have implemented all the action scripts. Everything works fine, except for one thing. If a user tries to sign up, but already exists in my external system, they will get a vag…

---

## [Password hashing on custom login script for custom database integration with ASP.NET Membership Provider](https://community.auth0.com/t/password-hashing-on-custom-login-script-for-custom-database-integration-with-asp-net-membership-provider/72813)

<div class="topic-metadata">

**Author:** [@matei.r](https://community.auth0.com/u/matei.r)\
**Replies:** 1\
**Last updated:** [November 9, 2021, 12:49pm UTC](https://community.auth0.com/t/password-hashing-on-custom-login-script-for-custom-database-integration-with-asp-net-membership-provider/72813 "2021-11-09T12:49:59Z")

</div>

Hello, I wanted to post this to help anyone that may be facing the same problem and spare them the pain. The problem we had was that the password hashing done in Auth0’s predefined login templates for the ASP NET Members…

---

## [Custom Database Scripts migration to Auth0 actions](https://community.auth0.com/t/custom-database-scripts-migration-to-auth0-actions/71775)

<div class="topic-metadata">

**Author:** [@dovilekrivi](https://community.auth0.com/u/dovilekrivi)\
**Replies:** 2\
**Last updated:** [October 22, 2021, 4:12am UTC](https://community.auth0.com/t/custom-database-scripts-migration-to-auth0-actions/71775 "2021-10-22T04:12:53Z")

</div>

Hello! Two weeks ago I got an email with a reminder that I need to update my tenat settings to Node.js 12. I did that without any problems. But in this email it is also written: “Migrate your Custom Database Scripts, Ru…

---

## [Can I use a personal DB with the free tier account?](https://community.auth0.com/t/can-i-use-a-personal-db-with-the-free-tier-account/70948)

<div class="topic-metadata">

**Author:** [@gr8t1](https://community.auth0.com/u/gr8t1)\
**Replies:** 1\
**Last updated:** [October 7, 2021, 4:23pm UTC](https://community.auth0.com/t/can-i-use-a-personal-db-with-the-free-tier-account/70948 "2021-10-07T16:23:01Z")

</div>

I’m currently working on a software project for fun and I plan on hosting it on a server, I wanted to know if I can design my application around my own Database or if I have to work around and use the “username-password-…

---

## [How to make MFA work with custom DB?](https://community.auth0.com/t/how-to-make-mfa-work-with-custom-db/70787)

<div class="topic-metadata">

**Author:** [@thirumoorthy\_n](https://community.auth0.com/u/thirumoorthy_n)\
**Replies:** 6\
**Last updated:** [October 6, 2021, 8:12am UTC](https://community.auth0.com/t/how-to-make-mfa-work-with-custom-db/70787 "2021-10-06T08:12:10Z")

</div>

Hi, How to make MFA work with custom DB? I want to have the user profile & meta data with custom DB and want to Enable/Disable MFA per user based on the data returned from custom db. Note: My use case is to purely depe…

---

## [Error connecting to custom database](https://community.auth0.com/t/error-connecting-to-custom-database/69979)

<div class="topic-metadata">

**Author:** [@william.brace20](https://community.auth0.com/u/william.brace20)\
**Replies:** 1\
**Last updated:** [September 21, 2021, 8:28pm UTC](https://community.auth0.com/t/error-connecting-to-custom-database/69979 "2021-09-21T20:28:18Z")

</div>

I am trying to connect a custom postgresql database which is hosted on heroku to Auth0 for authentication. Upon editing the postgresql ‘Create’ action script with the required URI of the heroku database and trying to sav…

---

## [Assigning User roles on Custom Database action script](https://community.auth0.com/t/assigning-user-roles-on-custom-database-action-script/68184)

<div class="topic-metadata">

**Author:** [@dev-support](https://community.auth0.com/u/dev-support)\
**Replies:** 1\
**Last updated:** [August 19, 2021, 8:53pm UTC](https://community.auth0.com/t/assigning-user-roles-on-custom-database-action-script/68184 "2021-08-19T20:53:35Z")

</div>

How can i assign a role when creating a user through custom database action acript ? When users try to login first I’m checking if they are already in the auth0 database and if not, I’m authenticating them against a 3rd…

---

## [Getting "Cannot read property '0' of undefined" exception while using Custom Database Create Action Script](https://community.auth0.com/t/getting-cannot-read-property-0-of-undefined-exception-while-using-custom-database-create-action-script/63818)

<div class="topic-metadata">

**Author:** [@sandipghosh.dev](https://community.auth0.com/u/sandipghosh.dev)\
**Replies:** 2\
**Last updated:** [July 14, 2021, 1:05pm UTC](https://community.auth0.com/t/getting-cannot-read-property-0-of-undefined-exception-while-using-custom-database-create-action-script/63818 "2021-07-14T13:05:09Z")

</div>

I am having the exception “Cannot read property ‘0’ of undefined” while using Custom Database Create Action Script. I don’t have any active Hooks and Rules enabled. In my script I have deleted all the database related sc…

---

## [Using Custom Database on Free Plan](https://community.auth0.com/t/using-custom-database-on-free-plan/65756)

<div class="topic-metadata">

**Author:** [@pouria](https://community.auth0.com/u/pouria)\
**Replies:** 1\
**Last updated:** [July 12, 2021, 7:51pm UTC](https://community.auth0.com/t/using-custom-database-on-free-plan/65756 "2021-07-12T19:51:20Z")

</div>

Hi all, I’m a student and have been working on my side-project, an application which uses a MongoDB database to store user information. I’ve set up a custom database connection on Auth0 so that Auth0 would handle the au…

---

## [Store custom universal signup fields at my external database](https://community.auth0.com/t/store-custom-universal-signup-fields-at-my-external-database/64420)

<div class="topic-metadata">

**Author:** [@efe\_nadir](https://community.auth0.com/u/efe_nadir)\
**Replies:** 3\
**Last updated:** [June 15, 2021, 8:22am UTC](https://community.auth0.com/t/store-custom-universal-signup-fields-at-my-external-database/64420 "2021-06-15T08:22:56Z")

</div>

Hello. I want to know how I can store additional signup field data at my external database, not Auth0 database? For example, I want to get users name, subscription plan or address from Universal Signup page. I know I c…

---

## [Problem in sign up flow using lazy migration (custom database) and new universal login](https://community.auth0.com/t/problem-in-sign-up-flow-using-lazy-migration-custom-database-and-new-universal-login/64206)

<div class="topic-metadata">

**Author:** [@alfredo.anderson](https://community.auth0.com/u/alfredo.anderson)\
**Replies:** 2\
**Last updated:** [June 10, 2021, 9:38am UTC](https://community.auth0.com/t/problem-in-sign-up-flow-using-lazy-migration-custom-database-and-new-universal-login/64206 "2021-06-10T09:38:13Z")

</div>

Hi guys, I’m having a problem with lazy migration (custom database?) and new universal login (I managed to make it work in classic universal login but it seems that in new universal login the underlying logic is a little…

---

## [How is this on? Can I see who turned it on? "Use my own database"](https://community.auth0.com/t/how-is-this-on-can-i-see-who-turned-it-on-use-my-own-database/63850)

<div class="topic-metadata">

**Author:** [@louise.stowell](https://community.auth0.com/u/louise.stowell)\
**Replies:** 1\
**Last updated:** [June 4, 2021, 9:13pm UTC](https://community.auth0.com/t/how-is-this-on-can-i-see-who-turned-it-on-use-my-own-database/63850 "2021-06-04T21:13:02Z")

</div>

We haven’t been able to add users or update passwords since the 1st June. We noticed that “Use my own database” is “ON” Is there activity anywhere to tell who in admin turned it on and how do we get it off?

---

## [Disable social connection AND not create user? Trying to prevent user duplication of custom database migrated user](https://community.auth0.com/t/disable-social-connection-and-not-create-user-trying-to-prevent-user-duplication-of-custom-database-migrated-user/59946)

<div class="topic-metadata">

**Author:** [@mclslee](https://community.auth0.com/u/mclslee)\
**Replies:** 6\
**Last updated:** [March 24, 2021, 9:24pm UTC](https://community.auth0.com/t/disable-social-connection-and-not-create-user-trying-to-prevent-user-duplication-of-custom-database-migrated-user/59946 "2021-03-24T21:24:53Z")

</div>

Hello, I’m currently in the process of migrating our auth flow from something in house to auth0. Moving kind of slow, but I’m getting there! This current problem I’m having is how to handle a not-yet-migrated user who …

---

## [POST request response in custom database login script not JSON parseable](https://community.auth0.com/t/post-request-response-in-custom-database-login-script-not-json-parseable/56001)

<div class="topic-metadata">

**Author:** [@norbert.schuler](https://community.auth0.com/u/norbert.schuler)\
**Replies:** 3\
**Last updated:** [January 12, 2021, 11:57am UTC](https://community.auth0.com/t/post-request-response-in-custom-database-login-script-not-json-parseable/56001 "2021-01-12T11:57:34Z")

</div>

We wrote a Login and a Get User script for our custom database. While the Get User script is using request.get() to retrieve the user data from our API, the Login script is using a request.post() to get the user from our…

---

## [Since when the Get User script is required for the Sign Out action to properly work?](https://community.auth0.com/t/since-when-the-get-user-script-is-required-for-the-sign-out-action-to-properly-work/54378)

<div class="topic-metadata">

**Author:** [@rsanchez1](https://community.auth0.com/u/rsanchez1)\
**Replies:** 7\
**Last updated:** [December 11, 2020, 9:06am UTC](https://community.auth0.com/t/since-when-the-get-user-script-is-required-for-the-sign-out-action-to-properly-work/54378 "2020-12-11T09:06:47Z")

</div>

I have several tenants with custom database connections where I have implemented the Create script and I haven’t implemented the Get User script and it was working fine and users were able to sign out to my apps. Now I h…

[Next page](https://community.auth0.com/tag/custom-database/162.md?match_all_tags=true&page=1&tags%5B%5D=custom-database)
