Social Identity Provider Button and Badge Properties

You can configure buttons and badges for each social identity provider, using the Admin UI or by editing the associated identityProvider-name.json file. The Admin UI displays examples during social identity provider configuration.

Badges appear in the Admin UI under Configure > Social ID Providers, and in the End User UI under My Account > Sign-in & Security > Social Sign-in.

Buttons appear in the IDM login screens, and when you select Register from the End User UI login screen.

Example ButtonExample Badges
An example of a social identity provider registration button.
Examples of social identity provider registration badges.


How IDM displays buttons and badges changes based on how many social identity providers are enabled:

  • For up to three social identity providers, IDM displays large buttons, with the text Register with Provider.

  • For four or more social identity providers, IDM displays smaller buttons with icons.

    Note

    For seven or more social identity providers, horizontal scrolling may be required.

Properties for Social Identity Provider Buttons and Badges
Property (UI)Property (JSON file)Description
Badge background coloriconBackgroundColor for the social identity provider icon.
Badge icon classnameiconClassName of the icon class. Can be a Font Awesome name like fa-google.
Badge font coloriconFontColorColor for the social identity provider icon font.
Button image pathbuttonImageLooks in openidm/ui/admin/extension and then openidm/ui/admin/default for an image file. Takes precedence over the Button icon classname.
Button icon classnamebuttonClassName for the social identity provider class. Can be a Font Awesome name like fa-yahoo.
Button display namebuttonDisplayNameName to display on large buttons.
Button stylesbuttonCustomStyleCustom styles, such as background-color: #7B0099; border-color: #7B0099; color:white;.
Button hover stylesbuttonCustomStyleHoverCustom styles for the hover state of a button, such as background-color: #7B0099; border-color: #7B0099; color:white;.

Read a different version of :