# \#custom-database-connections

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

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

---

## [Set password requirements error](https://community.auth0.com/t/set-password-requirements-error/197178)

<div class="topic-metadata">

**Author:** [@LoposEnzo](https://community.auth0.com/u/LoposEnzo)\
**Replies:** 4\
**Last updated:** [February 18, 2026, 10:38am UTC](https://community.auth0.com/t/set-password-requirements-error/197178 "2026-02-18T10:38:48Z")

</div>

Hi I want to change the password requirements. According to the documentation I can do this in Authentication → Database → (select connection) → Authentication methods → Password When I click the “configure” button no…

---

## [Help please.Trying to add modrinth as connection](https://community.auth0.com/t/help-please-trying-to-add-modrinth-as-connection/195742)

<div class="topic-metadata">

**Author:** [@Ajas22145](https://community.auth0.com/u/Ajas22145)\
**Replies:** 2\
**Last updated:** [December 27, 2025, 6:00pm UTC](https://community.auth0.com/t/help-please-trying-to-add-modrinth-as-connection/195742 "2025-12-27T18:00:57Z")

</div>

{ “error”: “invalid\_request”, “error\_description”: “Failed to obtain access token” }

---

## [Cannot Login with Database Connection Users — “Oops!, something went wrong” on /u/login](https://community.auth0.com/t/cannot-login-with-database-connection-users-oops-something-went-wrong-on-u-login/194565)

<div class="topic-metadata">

**Author:** [@harshiniadditional](https://community.auth0.com/u/harshiniadditional)\
**Replies:** 1\
**Last updated:** [November 18, 2025, 5:04pm UTC](https://community.auth0.com/t/cannot-login-with-database-connection-users-oops-something-went-wrong-on-u-login/194565 "2025-11-18T17:04:52Z")

</div>

Hi team, I’m experiencing an issue where database-created users cannot log in at all, even though user creation works perfectly. Tenant Details Region: US Connection: Username-Password-Authentication (Database) …

---

## [Users migration / database merging](https://community.auth0.com/t/users-migration-database-merging/192455)

<div class="topic-metadata">

**Author:** [@smathez](https://community.auth0.com/u/smathez)\
**Replies:** 3\
**Last updated:** [October 6, 2025, 3:46pm UTC](https://community.auth0.com/t/users-migration-database-merging/192455 "2025-10-06T15:46:04Z")

</div>

Hello, I currently have an application (app 1) that uses Auth0. And another application (app2) that uses AWS Cognito. I would like to migrate my app2 to the same Auth0 tenant as app1, in order to benefit from SSO betwe…

---

## [I need to delete my accountw](https://community.auth0.com/t/i-need-to-delete-my-accountw/192622)

<div class="topic-metadata">

**Author:** [@hleb.lizunkou](https://community.auth0.com/u/hleb.lizunkou)\
**Replies:** 1\
**Last updated:** [October 1, 2025, 9:31am UTC](https://community.auth0.com/t/i-need-to-delete-my-accountw/192622 "2025-10-01T09:31:30Z")

</div>

I need to delete my account

---

## [Please tell me the arguments for Custom Database Connection functions.](https://community.auth0.com/t/please-tell-me-the-arguments-for-custom-database-connection-functions/192450)

<div class="topic-metadata">

**Author:** [@yasuyuki.kobayashi](https://community.auth0.com/u/yasuyuki.kobayashi)\
**Replies:** 1\
**Last updated:** [September 26, 2025, 8:51pm UTC](https://community.auth0.com/t/please-tell-me-the-arguments-for-custom-database-connection-functions/192450 "2025-09-26T20:51:56Z")

</div>

In the “Update a connection” documentation I found that there is a customScripts section in the BODY PARAMETERS section, where change\_username and change\_phone\_number are present. I believe it’s now possible to write…

---

## [All Authentication Methods Failed Error When Using ssh2 With Custom Database Functions](https://community.auth0.com/t/all-authentication-methods-failed-error-when-using-ssh2-with-custom-database-functions/190003)

<div class="topic-metadata">

**Author:** [@greasyrooster1](https://community.auth0.com/u/greasyrooster1)\
**Replies:** 2\
**Last updated:** [August 14, 2025, 4:19am UTC](https://community.auth0.com/t/all-authentication-methods-failed-error-when-using-ssh2-with-custom-database-functions/190003 "2025-08-14T04:19:03Z")

</div>

I am trying to connect to my Postgres database with the custom database functions. Im using AWS, and connecting to the database through an ssh tunnel. The tunnel goes to my ec2 instance. I was able to get the tunnel and …

---

## [User Already Exists Error When Creating Same Username in Different Database Connections](https://community.auth0.com/t/user-already-exists-error-when-creating-same-username-in-different-database-connections/187341)

<div class="topic-metadata">

**Author:** [@challa\_reddy](https://community.auth0.com/u/challa_reddy)\
**Replies:** 2\
**Last updated:** [May 29, 2025, 11:28am UTC](https://community.auth0.com/t/user-already-exists-error-when-creating-same-username-in-different-database-connections/187341 "2025-05-29T11:28:26Z")

</div>

I’m using username-based login in my Auth0 setup. I have multiple database connections, each representing a different user group. Here’s the issue: I have a user with the username john\_doe in Database A. When I try to…

---

## [Access issue to an Azure SQL Managed Instance Public Endpoint](https://community.auth0.com/t/access-issue-to-an-azure-sql-managed-instance-public-endpoint/186531)

<div class="topic-metadata">

**Author:** [@bmosher](https://community.auth0.com/u/bmosher)\
**Replies:** 3\
**Last updated:** [May 13, 2025, 7:11pm UTC](https://community.auth0.com/t/access-issue-to-an-azure-sql-managed-instance-public-endpoint/186531 "2025-05-13T19:11:32Z")

</div>

We have whitelisted all of the US IP Addresses from the Auth0 documentation on our SQL Managed Instance Conditional Access Policy. This has worked fine in the first Auth0 tenant that we setup connection to our Custom Dat…

---

## [Getting the connection is not enabled for Username-Password-Authentication](https://community.auth0.com/t/getting-the-connection-is-not-enabled-for-username-password-authentication/184965)

<div class="topic-metadata">

**Author:** [@pawani.baghla](https://community.auth0.com/u/pawani.baghla)\
**Replies:** 1\
**Last updated:** [April 3, 2025, 1:33pm UTC](https://community.auth0.com/t/getting-the-connection-is-not-enabled-for-username-password-authentication/184965 "2025-04-03T13:33:24Z")

</div>

Ready to post? :magnifying\_glass\_tilted\_left: First, try searching for your answer. getting the connection is not enabled for Username-Password-Authentication when running playwright test case from Github runner but sa…

---

## [Custom Database Change Password script won't pass username](https://community.auth0.com/t/custom-database-change-password-script-wont-pass-username/113902)

<div class="topic-metadata">

**Author:** [@jpf\_auth0](https://community.auth0.com/u/jpf_auth0)\
**Replies:** 3\
**Last updated:** [February 25, 2025, 10:35am UTC](https://community.auth0.com/t/custom-database-change-password-script-wont-pass-username/113902 "2025-02-25T10:35:55Z")

</div>

I am using a custom database, with “Requires Username” enabled. In the custom Login script, I can receive either a username or an email as part of the call. However, trying to work through the Change Password flow, it w…

---

## [Utilizing a HTTP Vault in Body](https://community.auth0.com/t/utilizing-a-http-vault-in-body/169194)

<div class="topic-metadata">

**Author:** [@sam.karl](https://community.auth0.com/u/sam.karl)\
**Replies:** 3\
**Last updated:** [December 31, 2025, 3:23pm UTC](https://community.auth0.com/t/utilizing-a-http-vault-in-body/169194 "2025-12-31T15:23:52Z")

</div>

Since there is not integration for utilizing external email providers yet in flows. I have to do a http request first get a access token for my Microsoft email. However, I want to protect my secret key. Since the vault c…

---

## [SandboxTimeoutError in custom mongo database](https://community.auth0.com/t/sandboxtimeouterror-in-custom-mongo-database/127217)

<div class="topic-metadata">

**Author:** [@ortieez](https://community.auth0.com/u/ortieez)\
**Replies:** 3\
**Last updated:** [November 5, 2024, 1:25pm UTC](https://community.auth0.com/t/sandboxtimeouterror-in-custom-mongo-database/127217 "2024-11-05T13:25:40Z")

</div>

Hello, I went through all possible forum posts with the same issue of: SandboxTimeoutError: Request to Webtask exceeded allowed execution time. And still no help. My Nodejs tenant is set to: Node version 18 I tried cha…

---

## [/userinfo endpoint does not contain custom claim](https://community.auth0.com/t/userinfo-endpoint-does-not-contain-custom-claim/138575)

<div class="topic-metadata">

**Author:** [@admin76](https://community.auth0.com/u/admin76)\
**Replies:** 2\
**Last updated:** [July 19, 2024, 6:03pm UTC](https://community.auth0.com/t/userinfo-endpoint-does-not-contain-custom-claim/138575 "2024-07-19T18:03:47Z")

</div>

Or how can i test the /userinfo endpoint to see if my data is complete. I have added a custom claim in login flow adding api.idToken.setCustomClaim(‘test’, ‘test’). I seem to be not able to map this field to a platform w…

---

## [How to securely authenticate users with an external database connection?](https://community.auth0.com/t/how-to-securely-authenticate-users-with-an-external-database-connection/134856)

<div class="topic-metadata">

**Author:** [@steve-ir](https://community.auth0.com/u/steve-ir)\
**Replies:** 4\
**Last updated:** [May 29, 2024, 6:19pm UTC](https://community.auth0.com/t/how-to-securely-authenticate-users-with-an-external-database-connection/134856 "2024-05-29T18:19:05Z")

</div>

I don’t understand how to securely implement the external database login flow. Based on the examples provided in the documentation: Custom Database Action Script Execution Best Practices You are supposed to hash the pas…

---

## [Amount of users Auto imported from Custom Database Connection](https://community.auth0.com/t/amount-of-users-auto-imported-from-custom-database-connection/134943)

<div class="topic-metadata">

**Author:** [@henrique.rotava.n](https://community.auth0.com/u/henrique.rotava.n)\
**Replies:** 3\
**Last updated:** [May 28, 2024, 10:43pm UTC](https://community.auth0.com/t/amount-of-users-auto-imported-from-custom-database-connection/134943 "2024-05-28T22:43:00Z")

</div>

We are migrating the users from a Firebase source, we set up a custom database connection, and some months later we enabled auto import, we have users who already logged in after the auto import was enabled and some that…

---

## [Custom Database Auto User Migration Simplest flow not working](https://community.auth0.com/t/custom-database-auto-user-migration-simplest-flow-not-working/134917)

<div class="topic-metadata">

**Author:** [@marcus2](https://community.auth0.com/u/marcus2)\
**Replies:** 1\
**Last updated:** [May 24, 2024, 1:46pm UTC](https://community.auth0.com/t/custom-database-auto-user-migration-simplest-flow-not-working/134917 "2024-05-24T13:46:11Z")

</div>

I’m encountering issues with Automatic User Migration using a custom database connection in Auth0. I’ve modified the Login/GetUser scripts under my custom database connection and tested them out. They work perfectly when…

---

## [Is it possible to use the Auth0 db and a custom external db to store user data at sign up?](https://community.auth0.com/t/is-it-possible-to-use-the-auth0-db-and-a-custom-external-db-to-store-user-data-at-sign-up/134686)

<div class="topic-metadata">

**Author:** [@david.doyle7](https://community.auth0.com/u/david.doyle7)\
**Replies:** 6\
**Last updated:** [May 23, 2024, 8:25am UTC](https://community.auth0.com/t/is-it-possible-to-use-the-auth0-db-and-a-custom-external-db-to-store-user-data-at-sign-up/134686 "2024-05-23T08:25:35Z")

</div>

Ready to post? :mag: First, try searching for your answer. Hi I just started trying to set up Auth0 instead of AWS Cognito for a project as Cognito was very cumbersome I found. I was wondering if its possible to have n…

---

## [Webtask exceeded allowed execution time when trying to connect to to mongodb](https://community.auth0.com/t/webtask-exceeded-allowed-execution-time-when-trying-to-connect-to-to-mongodb/134702)

<div class="topic-metadata">

**Author:** [@david.doyle7](https://community.auth0.com/u/david.doyle7)\
**Replies:** 1\
**Last updated:** [May 22, 2024, 12:22pm UTC](https://community.auth0.com/t/webtask-exceeded-allowed-execution-time-when-trying-to-connect-to-to-mongodb/134702 "2024-05-22T12:22:57Z")

</div>

Hi there im trying to test a create user action with a custom mongodb and im running into this timeout, just like described in this previous post : "Request to Webtask exceeded allowed execution time" when trying to conn…

---

## [Custom Database Login Script Not Getting Called](https://community.auth0.com/t/custom-database-login-script-not-getting-called/132330)

<div class="topic-metadata">

**Author:** [@jmusits](https://community.auth0.com/u/jmusits)\
**Replies:** 3\
**Last updated:** [April 22, 2024, 11:03am UTC](https://community.auth0.com/t/custom-database-login-script-not-getting-called/132330 "2024-04-22T11:03:48Z")

</div>

Hello, I am attempting to setup a Custom Database connection to Cognito to do a lazy migration of users. I have added the login and getUser action scripts and done the Save and Try process and they both return results a…

---

## [Disable custom database connection](https://community.auth0.com/t/disable-custom-database-connection/131521)

<div class="topic-metadata">

**Author:** [@alex.eliseev](https://community.auth0.com/u/alex.eliseev)\
**Replies:** 2\
**Last updated:** [April 8, 2024, 9:58pm UTC](https://community.auth0.com/t/disable-custom-database-connection/131521 "2024-04-08T21:58:59Z")

</div>

Hello there, recently we migrated all users to auth0, firstly we used lazy migration with a custom database connection, and then we bulk migrated all the rest users. Currently, there is no need for a custom database conn…

---

## [Private cloud private link](https://community.auth0.com/t/private-cloud-private-link/130463)

<div class="topic-metadata">

**Author:** [@idm\_hunt](https://community.auth0.com/u/idm_hunt)\
**Replies:** 1\
**Last updated:** [March 29, 2024, 5:52pm UTC](https://community.auth0.com/t/private-cloud-private-link/130463 "2024-03-29T17:52:03Z")

</div>

Hi team, I would like to know if we can setup private link between Azure DB located in China and Azure private cloud Auth0 tenant located in Japan. Referring to this document , it mentions that it has to be same region,…

---

## [Custom database login](https://community.auth0.com/t/custom-database-login/128653)

<div class="topic-metadata">

**Author:** [@hacosta](https://community.auth0.com/u/hacosta)\
**Replies:** 1\
**Last updated:** [March 28, 2024, 11:11pm UTC](https://community.auth0.com/t/custom-database-login/128653 "2024-03-28T23:11:55Z")

</div>

Hi I have set a custom database with an action script on the login event this is the code: function login(email, password, callback) { //this example uses the "pg" library //more info here: https://github.com/brianc…

---

## [Custom Database Connection on a Testing/Staging Tenant Free Plan](https://community.auth0.com/t/custom-database-connection-on-a-testing-staging-tenant-free-plan/129682)

<div class="topic-metadata">

**Author:** [@tom.brown](https://community.auth0.com/u/tom.brown)\
**Replies:** 3\
**Last updated:** [March 15, 2024, 8:31am UTC](https://community.auth0.com/t/custom-database-connection-on-a-testing-staging-tenant-free-plan/129682 "2024-03-15T08:31:29Z")

</div>

Hi, We’re currently using the Custom Database feature to allow for our application to authenticate user’s credentials against our own database. As I understand it, this requires a subscription to the Professional plan, …

---

## [How to disable a database login/password on Terraform?](https://community.auth0.com/t/how-to-disable-a-database-login-password-on-terraform/129539)

<div class="topic-metadata">

**Author:** [@deborah](https://community.auth0.com/u/deborah)\
**Replies:** 1\
**Last updated:** [March 14, 2024, 9:35am UTC](https://community.auth0.com/t/how-to-disable-a-database-login-password-on-terraform/129539 "2024-03-14T09:35:41Z")

</div>

On my application connections, I have a database connection that I would like to disable through Terraform. I know I can just toggle the option on and off through the admin console but this really needs to be done th…

---

## [How to delete database and google social connections from an application?](https://community.auth0.com/t/how-to-delete-database-and-google-social-connections-from-an-application/129542)

<div class="topic-metadata">

**Author:** [@deborah](https://community.auth0.com/u/deborah)\
**Replies:** 1\
**Last updated:** [March 12, 2024, 8:04pm UTC](https://community.auth0.com/t/how-to-delete-database-and-google-social-connections-from-an-application/129542 "2024-03-12T20:04:34Z")

</div>

I have some connections that were created during some tests and also some old, discontinued connections that should be deleted. Is there any way to do so through the admin console or am I obliged to do it through the API…

---

## [Reset password custom page](https://community.auth0.com/t/reset-password-custom-page/125915)

<div class="topic-metadata">

**Author:** [@tharunnath](https://community.auth0.com/u/tharunnath)\
**Replies:** 3\
**Last updated:** [January 30, 2024, 3:42pm UTC](https://community.auth0.com/t/reset-password-custom-page/125915 "2024-01-30T15:42:55Z")

</div>

I am using Custom password reset page for custom database. In auth-js we are having change password functionality to trigger a reset password link. when user click on reset password link which function, we need to call a…

---

## [Storing token values in custom database script](https://community.auth0.com/t/storing-token-values-in-custom-database-script/125452)

<div class="topic-metadata">

**Author:** [@anish.subedi](https://community.auth0.com/u/anish.subedi)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 4:51pm UTC](https://community.auth0.com/t/storing-token-values-in-custom-database-script/125452 "2024-01-24T16:51:11Z")

</div>

Hi there, I am trying to call my custom API endpoint in the get and login script. The token validation is needed to call each endpoint. The problem is I have to call my token twice while executing in get and login scrip…

---

## [Two connections and a custom DB Script Problem](https://community.auth0.com/t/two-connections-and-a-custom-db-script-problem/124977)

<div class="topic-metadata">

**Author:** [@Kush1](https://community.auth0.com/u/Kush1)\
**Replies:** 5\
**Last updated:** [January 23, 2024, 12:12pm UTC](https://community.auth0.com/t/two-connections-and-a-custom-db-script-problem/124977 "2024-01-23T12:12:33Z")

</div>

Hi, I have a bit of an urgent issue. I have an existing connection with existing users. I have a need for a new migration of users, but cannot add a script to an existing connection with users. I have a new connection…

---

## [Create a JWT Token in MS Flow](https://community.auth0.com/t/create-a-jwt-token-in-ms-flow/124727)

<div class="topic-metadata">

**Author:** [@josematamoros](https://community.auth0.com/u/josematamoros)\
**Replies:** 3\
**Last updated:** [January 22, 2024, 7:03pm UTC](https://community.auth0.com/t/create-a-jwt-token-in-ms-flow/124727 "2024-01-22T19:03:26Z")

</div>

Hey guys, I’m trying to create a API connection in MS flow with the HTTP connector, this connector will call an API in Notify gov.uk that will allow me to send a SMS. The problem I’m facing is that Notify requires a fr…

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