Authentication and Authorization across multiple servers

Hi,

My company is developing two separate services, our main website and a configurator for our product. They have pretty different requirements in terms of computation and hence want them to be separate, so we can use different droplets and scale them separately. We currently use Strapi’s credentials provider along with NextAuth for the frontend. However, we need users across these two services to be linked and authentication to be linked too. So, a couple of questions on this:

  • Do you have any recommendations on what the best way to do this might be?
  • Are there ways to link Strapi users across two different servers and databases?
  • Would it be better to use one database for both servers over two separate databases?
  • What are the tradeoffs between these two approaches

Thanks in advance for any replies