[keycloak-user] Keyclock basic sample not working

valsaraj pv valsarajpv at gmail.com
Fri Feb 9 11:54:29 EST 2018


Redirect uri issue fixed after I added same url from keycloak which shich
shown as incorrect. But back to application link shown in keycloak login
page is appending the uri given in client conf to keycloak openid url. This
can be seen only if login page shows invalid redirect url.

On 09-Feb-2018 7:43 PM, "Marek Posolda" <mposolda at redhat.com> wrote:

I guess you messed the configuration of URLs of your client in admin
console? I assume "Base URL" and "Valid Redirect URIs" of the client. But I
may be wrong, just guessing based on what you wrote.

Marek

Dne 9.2.2018 v 13:56 valsaraj pv napsal(a):

> Hi,
>
> The basic sample in Keyclock is not working with latest Keycloak &
> application running on WildFly 10.1.
> I followed
> http://www.keycloak.org/docs/latest/getting_started/index.ht
> ml#securing-a-jboss-servlet-application
>
> But got Invalid parameter: redirect_uri error:
> Redirected to Keyclock URL but shows Invalid parameter: redirect_uri for
> http://localhost:8180/auth/realms/demo/protocol/openid-conne
> ct/auth?response_type=code&client_id=vanilla&redirect_
> uri=http%3A%2F%2Flocalhost%3A8280%2Fvanilla%2Fprofile.
> jsp&state=86f497f4-5280-46dc-8dbd-81d0bea9d911&login=true&scope=openid
>
> Back to Application link shows following incorrect URL:
> http://localhost:8180/auth/realms/demo/protocol/openid-conne
> ct/http//localhost:8280/vanilla
>
> Thanks!
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>


More information about the keycloak-user mailing list