[keycloak-user] "Invalid state param" for KeycloakInstalled
Stian Thorgersen
stian at redhat.com
Tue Nov 18 10:19:52 EST 2014
The installed adapter should be generating a state variable and add it to the URL, it should also check the state when it retrieves the code.
Can you JIRA please?
----- Original Message -----
> From: "Juraci Paixão Kröhling" <juraci at kroehling.de>
> To: keycloak-user at lists.jboss.org
> Sent: Tuesday, 18 November, 2014 3:31:55 PM
> Subject: Re: [keycloak-user] "Invalid state param" for KeycloakInstalled
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> It seems that adding a simple "state=" to the end of the URL made it
> work. Is this a new requirement? If so, I guess the examples that uses
> it needs to be updated :-)
>
> - - Juca.
>
> On 11/14/2014 03:28 PM, Juraci Paixão Kröhling wrote:
> > Hello,
> >
> > I'm trying to use the KeycloakInstalled to authenticate an user
> > via CLI and I'm getting a "Invalid State param" message on the URL
> > that it asks the user to open.
> >
> > Code: KeycloakInstalled keycloak = new KeycloakInstalled();
> > keycloak.loginManual();
> >
> > The generated URL is:
> >
> > http://localhost:8080/auth/realms/acme-roadrunner-affairs/protocol/openid-connect/login?client_id=installed&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob
> >
> > "acme-roadrunner-affairs" is the realm, and "installed" is an
> > OAuth client registered on this realm, with a "redirect URI" as
> > "urn:ietf:wg:oauth:2.0:oob"
> >
> > Am I missing some configuration?
> >
> > - Juca. _______________________________________________
> > keycloak-user mailing list keycloak-user at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/keycloak-user
> >
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
>
> iQEcBAEBCgAGBQJUa1hbAAoJEDnJtskdmzLMHm4H/jZbCyF3qyqijNEB1o15euhn
> 7fBt/8JTXxR/VQO1NDsxbAF8IhR+SE2UPe1UA8H8HF+2Rcbiew5KU1TSrVN4gm1s
> xwsOu5EFBhUSFqIhZtNU5AKZksJGpTTjf0zvEhJuiOu33jQoOVpvngOwtArAvsjv
> mUuc2fkSygY5oxl/JUaB/rF3qN2iOJPQ2FeA5U1ThkpQzq5ChzZs/hzOUcd8xH7p
> ijsSWDd5HYRklpjomtNBOh9q/jOE5kcdr2lwUb0wSnZKA3t6l8U5phQ4maTzJHdt
> B7QfDeG6KTVhdpZGHcGP2Gy3qTpIaV1UX9I+xMsgLlU7XPpbsrhhcFUaTqiaOLg=
> =QEXp
> -----END PGP SIGNATURE-----
> _______________________________________________
> 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