We removed "auth-server-url-for-backend-requests", so it's simplified now. Assuming your UI app and REST service are on same host, you can probably just use: UriUtils.getOrigin(req.getRequestURL().toString())

For example see how our examples were changed: https://github.com/keycloak/keycloak/commit/65dc7ddb4457e3cd6ba8d2488380c7d71ca6bca0#diff-6268b803d6242c4da807bdd5057ee990

Marek

On 13/05/16 16:07, Emil Posmyk wrote:
Hi all

can you help me to find method getOriginForRestCalls from class: AdapterUtils ? Is there any alternative method now and how to use it if it is.

Many thanks.

ragards
--
Emil Posmyk


_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user