Skip to content

KEYCLOAK-16201 Allow customized email themes on a per client basis - #7729

Closed
sventorben wants to merge 1 commit into
keycloak:mainfrom
sventorben:KEYCLOAK-16201
Closed

sventorben wants to merge 1 commit into
keycloak:mainfrom
sventorben:KEYCLOAK-16201

Conversation

@sventorben

@sventorben sventorben commented Jan 20, 2021 •

Copy link
Copy Markdown
Contributor

Support overriding email theme per client.

Closes #8744

@jfmoy

jfmoy commented Jan 7, 2022

Copy link
Copy Markdown

It would be great to have this feature merged; like many organisations, we share a single realm for multiple clients, and we would like to customise the emails as we do for the login.

I can see that tests are missing on this particular MR; looking at the code, there seem to be no tests related to the DefaultThemeSelectorProvider, email and email themes. What's the expected extent of testing for this MR? Once fully tested, would a merge be considered?

@stianst

stianst commented Feb 16, 2022

Copy link
Copy Markdown
Contributor

An email is not always sent in the context of a client, so it makes little sense to me to have a theme per client. To be perfectly honest I've also been against the concept of having a theme per client, and think there are better ways to achieve that. However, there's not sufficient details in the JIRA or here to better understand the use-case.

I would suggest if this is still wanted to open a discussion around it.

@yanxch

yanxch commented Nov 23, 2025

Copy link
Copy Markdown

Discussion of use case - #38054

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create option to enable overide email theme for clients

4 participants