An authenticator allows you to authenticate the user using third party authentication systems such as LinkedIn, Duo security and Foursquare.
By default Identity Server packs several of these Authenticators and they are available to be configured via the Console.
But WSO2 has a wide range of authenticators in the connector store that you can plugin in to your Identity Server instance.
Let's see how we can configure LinkedIn connector in Console.
-
Download the LinkedIn connector from WSO2 connector store.(
org.wso2.carbon.extension.identity.authenticator.linkedin.connector-x.x.x). -
Place the authenticator.jar file into the
<IS_HOME>/repository/components/dropinsdirectory. -
Re-start the WSO2 Identity Server.
馃挕 For more in formation, read through the connector documentation.
-
Login to Console (https://localhost:9443/console)
-
Navigate to
Connections > Create Connectionand create a Connection with theCustom ConnectorConnection template. -
Once the Connection is created, navigate to the
Settingstab and click onNew Authenticatorbutton. -
Select
LinkedInfrom the authenticator selection and proceed with configuration.
Optionally, you can add a display name, icon and a description to the newly added connector to make the UI nicer 馃槈.
Add something like the following in the <IS_HOME>/repository/conf/deployment.toml.
馃挕 UI maps the meta data with the
authenticatorId. This can be found by checking theBrowser Networktab when the authenticators are loaded in theSettingstab.
[[console.extensions.connectors]]
authenticatorId="TGlua2VkSW4"
description="Login users with existing LinkedIn accounts"
displayName="LinkedIn"
icon="https://brand.linkedin.com/content/dam/me/business/en-us/amp/brand-site/v2/bg/LI-Bug.svg.original.svg"

