client-based-templates microservice
In the case if didmos2-auth is being used with OIDC Frontend, OIDC client specific templates can also be configured. This is achieved by activating the decide_template_by_client microservice. To get to know more about activating a microservice, please have a look at the section Microservice subsection in the Operations section. An example config is shown in the snippet below:
config:
client_routing:
123-123: exRP1
321-321: exRP2
The client_routing contains Client ID to Client Specific Template Folder Name. Taking the above example, lets' suppose for an example customer project demoshop, there will be the following two folder: customer-auth/didmos2-auth-fe/templates/exRP1 and customer-auth/didmos2-auth-fe/templates/exRP2. These client specific templates can refer to the static resources placed at the following paths: customer-auth/didmos2-auth-fe/assets/css/exRP1 and customer-auth/didmos2-auth-fe/assets/css/exRP2.