The link is probably expired. By default these links are only valid forĀ 5 minutes (may have been 10 in 1.4). You can configure this in the tokens settings in the admin console, it's "Login action timeout".

On 4 February 2016 at 16:50, Mark Hayen <m.hayen@first8.nl> wrote:
Hi all,

We have a problem with the link in the reset password email.
Sometimes, but not always we get an error saying invalid code.
This is the log entry:

type=RESET_PASSWORD_ERROR, realmId=master, clientId=null, userId=null,
ipAddress=xxx.xxx.xxx.xxx, error=invalid_code

Has anybody seen this error too?
Is it maybe fixed in a newer version? We are running keycloak 1.4.0.Final.

Thank you

Mark Hayen
First8
_______________________________________________
keycloak-user mailing list
keycloak-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user