Multiple Database connection with single application

Hey guys ,
Suppose I have two applications

  1. Internal Portal
  2. Public Portal

with database connections like

  1. Internal DB
  2. Public DB

and I want to access Internal DB and Public DB while login through Public Portal to check for user.
And there isn’t any specified domain in email id for the Public DB

so the User of Internal DB can login in Internal Portal and Public Portal both whereas User of Public DB can only login to Public Portal.

Hi @bgandhi39

A couple of things you can try:

  • You can have two Public Portal apps, one is for the Public DB, and one is for the Internal DB. Internal users would be the only ones with access to the internal DB app
  • You can have two login buttons in your Public Portal: one for public users, one for internal users.

John

1 Like