Hi,
I would like to implement a CredentialModel/Provider.
What I’ve done so far works pretty fine, but I can’t get it to display on the Account UI.
I am not sure what it takes to get it displayed there. I have implemented my metadata like this:
public CredentialTypeMetadata getCredentialTypeMetadata(CredentialTypeMetadataContext credentialTypeMetadataContext) {
return CredentialTypeMetadata.builder()
.type(getType())
.category(CredentialTypeMetadata.Category.TWO_FACTOR)
.displayName(«My superduper credential")
.helpText("SuperDuperTwo-Factor authentication")
.iconCssClass("kcAuthenticatorOTPClass")
.createAction(SuperDuperRequiredAction.PROVIDER_ID)
.removeable(true)
.build(session);
I have noticed that using the example on the Keycloak-quistarter (The famous «SecretQuestion») also doesn’t get it displayed on the Account UI, though it does get it displayed on the User interface on the admin menu when the credential is configured.
What can I be possibly missing here?
Best,
Francis
--
Francis Augusto Medeiros-Logeay
Oslo, Norway