So only these fields are required for the keycloak.js client ?
kc.authServerUrl = config['auth-server-url'];
kc.realm = config['realm'];
kc.clientId = config['resource'];
kc.clientSecret = (config['credentials'] ||
{})['secret'];
My confusion comes from that chapter which refers to the adapter config
doc
(
http://keycloak.github.io/docs/userguide/keycloak-server/html/ch08.html#a...).
As js is also an adapter, I was thinking that all these values were also
used by js client ;-)
On 04/03/16 18:18, Sebastien Blanc wrote:
No CORS stuff needed as the keycloak.json will always be on the same
domain as the app, it happens here
https://github.com/keycloak/keycloak-js-bower/blob/master/dist/keycloak.j...
On Fri, Mar 4, 2016 at 6:12 PM, Charles Moulliard
<cmoulliard(a)redhat.com <mailto:cmoulliard@redhat.com>> wrote:
Hi,
How is the keycloak.json file loaded by the keycloak.js script as I
don't see any value like this "cors-allowed-methods" within the
keycloak.js file ?
Regards,
Charles
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org <mailto:keycloak-user@lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/keycloak-user