I can't reproduce this issue. We have tests that verify query parameters
are including in the redirect uri, I've also verified this manually with
our demo (
).
A rest service should be bearer-only though, it shouldn't redirect to login
page at all.
On 9 February 2016 at 11:43, Andrey Saroul <andrey.saroul(a)gmail.com> wrote:
Recently I encountered with unexpected behavour of Keycloak.
I did a simple rest service and had deployed Keycloak on one the same
machine.
I'm using keycloak 1.7.0 with WildFly 9.0.2
My root URL of rest service is: /rest
In Keycloak admin console I have configured my rest service this way:
Client Protocol: openid-connect, Valid Redirect URIs: /rest/*
I tried to access my test page of rest service by url:
http://localhost:8080/rest/test?id=1
I got redirect to login form, entered my login and password. That's fine,
browser got valid jsessionid from Keycloak, BUT at the end of redirect
chain I end up with root url of my webapp (
http://localhost:8080/rest),
but I tried to access different location (
http://localhost:8080/rest/test?id=1) I expect to be redirected to the
url I entered in the first place.
I wonder, is this a bug or a misconfiguration issue?
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user