Hello,
I have the same problem with the "reset password" feature combined with an
OpenLDAP User Federation.
The password update works fine but not the reset one.
In the DefaultActionTokenKey from(String serializedKey) in
https://github.com/keycloak/keycloak/blob/c5b01ca9cb17ec46d546519ca388e9f...
The split is done on the ".". Emails contain "." so it fails.
Thanks
Aymeric
-----Message d'origine-----
De : keycloak-user-bounces(a)lists.jboss.org [mailto:keycloak-user-bounces@lists.jboss.org]
De la part de andreadonato54(a)yahoo.it
Envoyé : mercredi 13 décembre 2017 08:41
À : keycloak-user(a)lists.jboss.org
Objet : [keycloak-user] Keycloak update password with your own user federation throws
exception
Hi,
Posting here a question I found on StackOverflow on one issue I'm experiencing too, on
keycloak 4.3.0-Final.
Thanks for your helpAndrea
--https://stackoverflow.com/questions/47388978/keycloak-update-password-with-your-own-user-federation-throws-exception
So I have been trying to update password on my keycloak where we have created our own user
federation connection. So it works to loggin, create user and all is good. But when I
turned on update password, there were some troubles. First required action: "update
password" had to be turned on, the exception did not suggest that. But when that was
on and after submitting a new password, everything went through, until it failes with the
attached exception.So the functions ar ran, and the federation is updated, so the new
password is valid, but it failes with a internal sever error, and I cant really make sense
of it.It starts here:
https://github.com/keycloak/keycloak/blob/c9da02912e38ea50aa496ee294f9ee9...
on to this method and another method in that file, which is one method under:
https://github.com/keycloak/keycloak/blob/c9da02912e38ea50aa496ee294f9ee9...
crashes in this method:
https://github.com/keycloak/keycloak/blob/c5b01ca9cb17ec46d546519ca388e9f...
by: java.lang.NumberFormatException: For input string: "edwin@gmail"at
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)at
java.lang.Integer.parseInt(Integer.java:580)at
java.lang.Integer.parseInt(Integer.java:615)at
org.keycloak.authentication.actiontoken.DefaultActionTokenKey.from(DefaultActionTokenKey.java:76)....×
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user