One way is, that when application adapter sends the URL to Keycloak, you
just replace the last "auth" in the path with "forgot-credentials" .
So
the URL will look something like:
http://localhost:8080/auth/realms/example/protocol/openid-connect/forgot-...
For keycloak.js adapter, we have method "keycloak.createLoginURL", which
can be used as helper to this. For other adapters, we don't have any
straightforward way without constructing the URL manually AFAIK...
Marek
On 11/04/17 15:38, Mariusz Chruscielewski - Info.nl wrote:
Hi.
Is there a way to generate reset password URL without opening login page? We would like
to have direct URL on our website (or app) to reset password form:
http://domain/auth/realms/vi/login-actions/reset-credentials?code=5y-6gU4...
This URL is generated in UrlBean class, but I also can't get it anyway to try expose
easy REST endpoint.
Do you know if there is an easy way?
Thanks in advance.
Kind Regards,
Mariusz ChruĊcielewski
software engineer
mariusz@info.nl<mailto:mariusz@info.nl> |
LinkedIn<https://www.linkedin.com/in/mariusz-chruscielewski> | +31 (0)20 530
9113<tel:+31205309113%20>
info.nl <
http://www.info.nl>
Sint Antoniesbreestraat 16 | 1011 HB Amsterdam | +31 (0)20 530
9100<tel:+31205309100>
_______________________________________________
keycloak-user mailing list
keycloak-user(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-user