[keycloak-user] "Invalid state param" for KeycloakInstalled

Juraci Paixão Kröhling juraci at kroehling.de
Fri Nov 14 09:28:38 EST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJUZhGWAAoJEDnJtskdmzLMRrQIAIsnyvrDcPbNGnCZ5J6iyb9K
yli+68XODuIvdVheihy27aODlKT5kEDPKtBF2VrcLwvnQW16ZCcsIBwKvB4DF587
+PpZZysuvvNQnXu9PY/X0THilPuIJCsCj1Pti5YK1Npp7WL1gGNn4OV7cwhsk+wT
xNbbWzsCh53eRistfCGuQ4f6cD/dZkIVEwjPSwP7UQnYuT3qeftsXWHAtWXdLmIa
6zoe8X9pJ/OfAyk1TPUJjM0vzhtRnZOXk1qecRFe7g+uEUnDG1kx5Vp9Mf7ri3J/
JSmJhhxVxpJyFeSPHx1cZrZXZbyrcl88TeonqG8D//x3t2y4dJil0DE/t/5Kmtw=
=qdUj
-----END PGP SIGNATURE-----


More information about the keycloak-user mailing list