Like the title says, I am trying to have Keycloak send a password-reset email to users via the Admin REST endpoint /{realm}/users/{id}/execute-actions-email. I am getting a 204 No Content back so it’s not like I am sending incorrect content (I have also validated that the test user does have a valid email address). I have sent incomplete bits to make sure that part was working
The confusing part is that if I use the forgot password link in the UI’s login page and enter my email I get the reset email. The user I am connecting with REST has the admin role as well as pretty much all the realm-management privileges.
Has anyone else run into this? I am hoping that I am just missing something painfully obvious
Nothing obvious. The fact that it’s returning a 204 seems from the code like it should be completing the send. Have you run a sniffer (e.g. Wireshark) to see if there is any SMTP i/o that’s happening?