ForgeRock / openam-community-edition

Access Management - AuthN, AuthZ, SSO, Fedaration
https://forgerock.github.io/openam-community-edition/
123 stars 60 forks source link

Not an Issue rather a doubt: How to add a dynamic text in the openAM login page #57

Closed apurvacreator closed 3 years ago

apurvacreator commented 6 years ago

Hi,

In a scenario where the same openAM server is used by multiple applications but with different client IDs, the login page for all the applications remain same. I want to differentiate it by adding a dynamic text (name of the application from where it redirects to openAm) in the login page.

One way i thought was to add a parameter in the themeConfiguration.js file where i can read the unique information like Client Id from the URL and set the value of the parameter accordingly. I can then bind the parameter in the partial.

My questions are:

1.) Can we define parameters/objects in the themeConfiguration.js file?

2.) What other solution can be implemented to achieve adding a dynamic text in the login page.