I am trying to use the Forgot Password function for my Keycloak authentication. So I have already set On for the Forgot Password in the Login section. And I have tried to set up the configurations under Realm Email. In the email tab I entered
host smtp.gmail.com
smtp port 465
username ***@gmail.com
SSL enabled
Authentication - enabled with username and password
But when i'm testing the connection, I keep getting the error "Error! Failed to send email".
Any Help would be highly appreciated, Thank you.
You need to provide your email address to Keycloak administrator's email address, and turn on "Allow less secure apps" on Google account settings page. https://support.google.com/accounts/answer/6010255?hl=en
If succeed, you can see SMTP test message from Keycloak in your mail box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With