There are times when you need to use multiple domains.
In the past, there seemed to be an IDENTITY__MULTIPLEDOMAINS env,
but it appears to have been removed.
identity-server/.well-known/openid-configuration
Since there is only one URL_BASE input, the issuer is fixed, so only one domain can log in.
Is there a way to use Squidex across multiple domains?
For example, a company-provided OAuth2-based SSO has a policy that restricts the redirect_url to only the company domain.
squidex server operation integrates the backend and frontend into a single server. It appears that the server can be operated as a single unit, but the admin spa server cannot be operated separately.
If you’re running it as a service, exposing the admin page can be a bit burdensome.
Furthermore, there seems to be no alternative for scenarios where you want to use separate domains for the internal admin SPA and externally exposed API domains.
I see. I was thinking about simply disabling frontend execution on the server used for service exposure and accessing it as an admin user from another server.
Server A has an admin page
Server B has the admin page disabled
If a post is updated (or some other action is taken) on the A admin page, will there be any issues with server B’s memory caching, etc.
since they’re all accessing the same MongoDB and event store?
both servers A and B will likely use different BASE_URL domains.
yes, but doesn’t the login screen request the identity server API? If you’re running a Node.js server, you’ll need to configure a separate identity server. This actually increases complexity.
If there are no major issues with the above disable method, I will do more actual testing and provide a PR. What potential issues might there be?