Create a new configuration option (e.g. DisableMainWebUi) that disables/blocks the main UI routes.
If true, the only UI routes that should remain are under /device-access/, which are used for remote control, terminal, etc.
Initial thoughts:
- Possible gate points include custom middleware and during SSR of the
MainLayout component.
- I'm doing something similar with
RequirePasswordChangeMiddleware (which Identity didn't support natively).
- Depending on user's desired setup flow, additional bootstrap options or API calls may be needed to compensate for lack of Identity pages.
Create a new configuration option (e.g.
DisableMainWebUi) that disables/blocks the main UI routes.If true, the only UI routes that should remain are under
/device-access/, which are used for remote control, terminal, etc.Initial thoughts:
MainLayoutcomponent.RequirePasswordChangeMiddleware(which Identity didn't support natively).