Wordpress main domain and Adonis subdomain


Hey all,

I want to use Wordpress on one instance and use the primary domain, e.g., “http://example.com”, and then have Adonis running on a separate server under the subdomain, e.g., “https://app.example.com”.

I believe I can use a SSO (Google, Linked, etc.) to simplify this process, but if the user logins in traditionally, how would this work?

The easiest way I can think of doing this is to have Wordpress sit as a standalone, without auth n’ auth features and have the user login page reside on the Adonis server. This way, I can use Adonis’ auth system.

Downside would be that the Wordpress site would not know that the user is logged in.

Any help would be appreciated