| Currently there is a bug in the Keycloak JS adapter in that it will always return localhost as the redirect uri. See here: https://github.com/keycloak/keycloak-js-bower/blob/master/dist/keycloak.js#L1289 We currently work around this by allowing redirect from localhost on the keycloak server. However this is a hacky workaround and we should instead allow the developer to set the redirect they wish to use. This will involve changes to the auth sdk to allow this object be passed in and also to override the function by making use of the custom adapter here: https://github.com/keycloak/keycloak-js-bower/blob/master/dist/keycloak.js#L54 |