WordPress Social Identity Provider Configuration Details
You can set up the WordPress social identity provider through the Admin UI or in a conf/identityProvider-wordpress.json
file. IDM generates the identityProvider-wordpress.json
file when you configure and enable this social identity provider in the Admin UI. Alternatively, you can create the file manually.
The following table includes the information shown in the Admin UI WordPress Provider pop-up window, along with associated information in the identityProvider-wordpress.json
file:
WordPress Social Identity Provider Configuration Properties
Property (UI) | Property (JSON file) | Description |
---|---|---|
Client ID | clientId | The client identifier for your WordPress App |
Client Secret | clientSecret | Used with the Client ID to access the applicable WordPress API |
Scope | scope | An array of strings that allows access to user data; see WordPress's OAuth2 Authentication Documentation. |
Authorization Endpoint | authorizationEndpoint | Typically https://public-api.wordpress.com/oauth2/authorize ; known as a WordPress Authorize URL. |
Token Endpoint | tokenEndpoint | Endpoint that receives a one-time authorization code, and returns an access token; typically https://public-api.wordpress.com/oauth2/token ; known as a WordPress Request Token URL. |
User Info Endpoint | userInfoEndpoint | Endpoint that transmits scope-related fields; typically https://public-api.wordpress.com/rest/v1.1/me/ |
Not in the Admin UI | name | Name of the social identity provider |
Not in the Admin UI | type | Authentication module |
Not in the Admin UI | authenticationId | Authentication identifier, as returned from the User Info Endpoint for each social identity provider |
Not in the Admin UI | propertyMap | Mapping between WordPress and IDM |
For information on social identity provider buttons and badges, see "Social Identity Provider Button and Badge Properties".