I have one landing page SPA, which is a Blazor Server hosted application, hosted under https://myapp.com and I want to have multiple apps (Blazor WASM, Blazor Server hosted) und sub-paths like:
What I want to achieve is, to have only a single login under my landing page and when I navigate to app-one or app-two, then the same authenticated user shall be able to use that app.
What I did so far, is:
- in Auth0, created a Regular Web Application serving the landing page
- in Auth0, created a Single Page Application serving app-one
But it behaves not exactly as I expect. When I login on the landing page, then I can also access app-one. But when I’m in app-one and do the logout there, then I’m still logged-in in the landingpage. Also when logging-out from the landing page, then this has no effect on the app-one.
Is this conceptually correct how I want to share authentication across different applications, hosted under the same domain?