Auth0 Home Blog Docs

DO I need to setup two seperate clients if I have a webapp and Native app, which share the same Database for accounts?



We’re trying to create a unified account system for our web app and native app. How should we do this?

If we only need to setup one client in Photage that would be best!


Each user is associated with one Client account, you should use the same Client/Database to represent the same user.


Users are per connection - you can create multiple clients, all using the same database connection. For your setup, something along the following:

  • 1 Database Connection (e.g. Username-Password-Authentication).

  • WebApp Client -> Using Username-Password-Authentication connection.

  • Native app client -> Using Username-Password-Authentication connection.