# Multiple db connections for one app

**URL:** <https://community.auth0.com/t/multiple-db-connections-for-one-app/68261>\
**Category:** Get Help\
**Tags:** database-connections, lock, login\
**Created:** [August 19, 2021, 8:00pm UTC](https://community.auth0.com/t/multiple-db-connections-for-one-app/68261 "2021-08-19T20:00:38Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![john.gateley](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/john.gateley/32/10879_2.png) [@john.gateley](https://community.auth0.com/u/john.gateley)\
**Post date:** [August 24, 2021, 12:43pm UTC](https://community.auth0.com/t/multiple-db-connections-for-one-app/68261/2 "2021-08-24T12:43:08Z")

</div>

Hi @jzim

The connection resolver is a good approach.  
You can also explicitly specify the connection in the call to /authorize so your internal employees would specify the internal DB, and your clients would each specify their own DB. This approach has the drawback that you can only specify a single connection with that parameter, so if you want to use a DB OR a SAML connection, for example, it doesn’t work.

John

---

_[View the full topic](https://community.auth0.com/t/multiple-db-connections-for-one-app/68261)._
