how to configure SMTP in keycloak1 min read

Prabhin Prabharkaran Administrator
DevOps Engineer

He is a Technical professional. He is a person who loves to share tricks and tips on the Internet. He Posts what he does!

follow me

Hi All, this document deals with how to configure SMTP in keycloak.
Keycloak is one of the best opensource tools for SSO authentication.

It’s essential to configure SMTP in keycloak applications so that the application can send emails to users when users request for forgot password, Profile information, etc.

Keycloak supports SMTP configuration for each realm.

Step 1: Select the realm which you need to configure SMTP.
Step 2: Select Email from Realm settings.
Step 3: Configure the SMTP settings as below.
Below configuration for office365

Host: smtp.office365.com
Port: 587
From: prabhin.mp@techrunnr.com
Enable StartTLS: ON
Enable Authentication: ON
Username: prabhin.mp@techrunnr.com
Password: ***********

Click on the Test connection to verify the configuration.

Once the test is successful you will be able to send emails from the application based on the user actions.

© 2020, Techrunnr. All rights reserved.

#1
#2
#3
Questions Answered
Articles Written
Overall Points

Related posts

Leave a Reply