DEV Community

rounakcodes
rounakcodes

Posted on • Edited on

20 1

Keycloak: Configure Realm Email Settings (Gmail)

Intro

Keycloak requires email configuration to

  • verify email address of user
  • allow user to set own password

Steps

Assign email address to admin account

Use Keycloak Account Management to add email address in Personal Info
The below steps work for Keycloak 13 but UI may change with time

  • Login to Keycloak Security Admin Console using admin credentials
  • Click admin name shown in the top right corner
  • Click Manage account
  • Click Personal Info
  • Enter email address

Configure Email Settings

  • Open a realm
  • Under Realm Settings > Email the following details will work for a Gmail account
    • Host: smtp.gmail.com
    • Port: 587 (for SSL, use 465)
    • From: admin-email-address
    • Enable StartTLS: On (for SSL, use Enable SSL)
    • Enable Authentication: On
    • Username: username
    • Password: password

Configure Gmail

If the admin account is a Gmail account, the below steps are required

Related

Keycloak REST API for Managing Users

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (1)

Collapse
 
thebigj816 profile image
Shashank Joshi

Hi,
How can we setup HTTP proxy in keycloak as it is inside a private network.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs