wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
742 stars 722 forks source link

Improve B2B Application Branding Preference Resolver Logic #20616

Open dhaura opened 3 months ago

dhaura commented 3 months ago

Describe the improvement In an organizational hierarchy with a set of shared B2B applications, if application branding is not configured for a specific shared app within a particular sub-organization, resolve its branding configuration using following steps.

  1. Check whether the shared application has configured app-level branding.
  2. If step 1 is not found, check the shared app residing sub-organization's org-level branding.
  3. If step 2 is not found, check whether the shared app in the immediate parent organization has app-level branding.
  4. If step 3 is not found, get the org-level branding from the immediate parent organization.
  5. If step 4 is not found, repeat 3 and 4 throughout the organization hierarchy until branding is found at some level.
  6. If branding is not found after step 5, default branding is applied.

Special Requirement In an organizational hierarchy with a set of shared B2B applications, enforce the current organization's app branding for a certain shared app throughout its child organization hierarchy while allowing other shared apps to override their branding as needed.