[keycloak-user] Theming applications by customers

Stian Thorgersen sthorger at redhat.com
Mon Mar 13 03:43:50 EDT 2017


If KEYCLOAK-3370 was implemented you could have different client
definitions for the two domains. Then set the theme on a per client basis.
I guess it's not ideal. but would work.

On 10 March 2017 at 15:02, Nicolas Gillet <nicolas.gillet at market-ip.com>
wrote:

> Hello Stian
>
>
>
> Thank you for the quick reply.
>
>
>
> I saw that issue when google-ing about Keycloak theming.
>
>
>
> It would indeed be helpful for us but doesn’t fully fit our need.
>
>
>
> Some of our customers use several applications of ours. For each
> application, they currently have a separate account. (cumbersome for them)
>
> For these customers, we create branding of our applications, these
> branding are then also replicated in the different applications (cumbersome
> for us)
>
>
>
> I think an example may be helpful
>
> Let’s say we have a blue customer and a green customer as well as an app1
> and an app2.
>
>
>
> Our blue customer will use www.app1.blue.com and www.app2.blue.com
>
> Our green customer will use www.app1.green.com and www.app2.green.com
>
>
>
> Both *app1*.blue.com and *app1*.green.com are the very same application
> “app1” (same IP, same server, same database)
>
> Same goes for *app2*.blue.com and *app2*.green.com that are the very same
> application “app2” (IP, server, DB) separated from “app1”
>
>
>
> The login pages of the applications are aware that the domain is “green”
> or “blue” and then display a blue or green branding.
>
>
>
> With Keycloak “app1” and “app2” will be “clients” in a realm (as far as I
> understand it).
>
>
>
> To be able to display the correct color to the correct customer, I see no
> other solutions than creating a “blue” and a “green” realm (+theme)
> duplicating the configuration of clients “app1” and “app2” in both realms.
>
>
>
> So, I was wondering if there exists a way in Keycloak to avoid this
> duplication and still offer unified branding across different applications.
>
>
>
> Kind regards,
>
>
>
>
>
> Nicolas GILLET
>
>
>
> *Market-IP –* *Creating Mobile Intelligence*
>
> Phone : +32 81 33 11 11 <+32%2081%2033%2011%2011>
>
> Fax : +32 81 33 11 10 <+32%2081%2033%2011%2010>
>
>
>
> *De :* Stian Thorgersen [mailto:sthorger at redhat.com]
> *Envoyé :* vendredi 10 mars 2017 13:54
> *À :* Nicolas Gillet <nicolas.gillet at market-ip.com>
> *Cc :* keycloak-user at lists.jboss.org
> *Objet :* Re: [keycloak-user] Theming applications by customers
>
>
>
> Would https://issues.jboss.org/browse/KEYCLOAK-3370 do the trick?
>
>
>
> On 10 March 2017 at 13:39, Nicolas Gillet <nicolas.gillet at market-ip.com>
> wrote:
>
> Hello,
>
> I am looking for an SSO solution and started playing around with Keycloak.
> We currently have no SSO solution but it has become a need that our
> application can seamlessly interact.
>
> Our customers have "branding" requirement so we adapt the look of our
> application pages (including login pages) with their logo and colors.
> For some customers, we use a cookie to know which branding they need, for
> others we have dedicated domain names pointing to the very same IP's.
>
> >From what I grasped of Keycloak, this branding can be achieved with
> "themes" that can be configured on "realms".
> Configuring a realm seems to require quite some time and if we have an
> important number of branded customer this might become hard to maintain.
> Also, the "topology" of our application (which are "clients" in Keycloak I
> think) remains the same for all customers of ours but as a "client" belongs
> to a single "realm" we'll have to duplicate this configuration and
> propagate the changes to any realm.
>
> So, I am wondering if Keycloak can fit our need of if I don't get it
> correctly.
>
> If someone could be kind enough to shed some light on this for me or point
> me toward a way to achieve our goal I'd be very thankful.
>
> Kind regards,
>
> Nicolas GILLET
>
> Market-IP - Creating Mobile Intelligence
> Phone : +32 81 33 11 11
> Fax : +32 81 33 11 10
> www.market-ip.com<http://www.market-ip.com/> - www.telefleet.com<
> http://www.telefleet.com/> - www.geoplanning.net<http://
> www.geoplanning.net/> - www.drivexpert.net<http://www.drivexpert.net/>
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
>


More information about the keycloak-user mailing list