Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Extending Public Websites per Tenant #10375


User avatar
0
RelationDev created

Hi Support,

Using the angular template, I have an application which will need a general public website, along with themed public websites per tenant. Users will log in directly from their tenant themed public website. Each tenant would be provided their own sub domain.

My initial thought is to use the provided public website for the general public website, and to create a new module in the angular app for anonymous access for each tenant's root path, and to use a guard to determine what the user should see (no user session, display public module, active session display app or admin module).

Should I be considering other ways of extending the public website, or other avenues, to achieve this instead?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @RelationDev

    The admin website you have seen implements theming depending on setting values. You can implement same for public website and load styles for each tenant. The server side part of this implementation is easy but creating a theme for each tenant will be hard.

    But, this is the correct way of implementing it.