# Building a Keycloak Email Change Plugin

DevFeed: [Building a Keycloak Email Change Plugin](<https://devfeed.tech/articles/building-a-keycloak-email-change-plugin-5086.md>)

Original publisher: [Read original article](<https://neon.com/blog/building-a-keycloak-email-change-plugin>)

Author: Adi Griever

Published: 2025-04-09T23:18:26Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Extension](<https://devfeed.tech/topics/extension.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Back end](<https://devfeed.tech/topics/backend.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [backend](<https://devfeed.tech/tags/backend.md>), [building](<https://devfeed.tech/tags/building.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [external](<https://devfeed.tech/tags/external.md>), [identity](<https://devfeed.tech/tags/identity.md>), [integration](<https://devfeed.tech/tags/integration.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [rest](<https://devfeed.tech/tags/rest.md>), [spi](<https://devfeed.tech/tags/spi.md>), [sync](<https://devfeed.tech/tags/sync.md>), [verification](<https://devfeed.tech/tags/verification.md>)

## AI overview

A developer describes building a custom Keycloak plugin to handle email change events and notify or update external systems. Implemented as a Keycloak SPI, the extension uses a REST endpoint to initiate the change and a token handler to validate confirmation, update the email, verify it, and maintain consistency across integrations.

## Source excerpt

In this post, I'll share my experience creating a custom Keycloak plugin that adds functionality for email change events. This plugin solves a common integration challenge: how to trigger actions in your application when users change their email addresses through Keycloak. The Pr...