TOTP display names

162 views
Skip to first unread message

Willem Noort

unread,
Jul 19, 2021, 11:18:02 AM7/19/21
to Keycloak Dev

Hi,

Some time ago, there was a discussion about the display name of TOTP token as shown as label in Authenticator apps. https://issues.redhat.com/browse/KEYCLOAK-1919. It was decided to use the display name of the realm here, but unfurtunately that does not work for us. In our use case for Keycloak, the realm name will not be a particularly good identifier for the end users.

I could create a PR for making the TOTP display name configurable. The change itself would be pretty straightforward and not backwards breaking:
- an extra field in the admin portal at 'OTP Policy' setting a attribute for the realm
- a bit of logic in OTPPolicy.java that prefers this realm attribute of the realm name if set
- a few tests.

Any thoughts on whether this PR would get merged easily?

Thanks

Willem
Reply all
Reply to author
Forward
0 new messages