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?

client-setup

#1

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!


#2

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


#3

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.


#4