[keycloak-dev] Providing idpHint in JavaScript Adapter JSON configuration

Marc Ewert marc.ewert at leverton.ai
Tue May 21 08:34:57 EDT 2019


Hi,

we would like to create a very small PR for the JavaScript Adapter (keycloak.js).  This change would allow one to provide the idpHint via the JSON configuration which could of course then be dynamically served by a backend. By this everyone could generate a JSON of the following format:

{
  realm: "production",
  auth-server-url: "https://customer-a.example.com/auth"<https://customer-a.example.com/auth>,
  bearer-only: false,
  resource: "frontend-client",
  idp-hint: "customer-a",
}

The consumption of the idp-hint parameter could be done as an one-liner in keycloak.js. Would it be okay, if we create a PR with the needed change for letting that happen, or are there other as simple solutions, that we are missing?

Best

Marc Ewert

--
________________________________________________
Marc Ewert | Senior Engineering Manager
Leverton GmbH | Schöneberger Str. 15 | 10963 Berlin | Germany
P +49 30 868 711 059
E marc.ewert at leverton.ai<mailto:marc.ewert at leverton.ai>
https://www.leverton.ai/ | LinkedIn<https://www.linkedin.com/company/leverton>

District Court Berlin-Charlottenburg HRB 140028
Managing Directors: Florian Kuhlmann, Abhinav Somani


More information about the keycloak-dev mailing list