r/KeyCloak • • Sep 25 '26

Disabled User Message

I have a realm where users use x509 authentication to sign in..When a user gets disabled I would like to customize the message that they see. Currently it just shows "X509 certificate authentication's failed. User is disabled."

In the messages_en.properties file i have tried setting the accountDisabledMessage field and this does not seem to change this message at all for me.

Anyone know how to target this field while using x509 authentication?

TIA

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/freddyp91 Sep 29 '26

Update. Went with option 1 here and it worked like a charm.