How To
ForgeRock Identity Cloud

WordPress SSO integration with Identity Cloud for social authentication/registration

Last updated Jan 17, 2023

The purpose of this article is to provide information on configuring ForgeRock Identity Cloud to integrate with WordPress as a social provider using OpenID Connect (OIDC) for Single Sign-On (SSO).


This article describes how to configure Identity Cloud to use WordPress as a social provider for authentication and/or registration. Identity Cloud provides a standards-based solution for WordPress social sign-on based on OIDC standards. Once configured, users can log in to applications protected by Identity Cloud using their existing WordPress account.

Steps involved:

  1. Configure WordPress
  2. Configure the Social Identity Provider in Identity Cloud
  3. Create the end user journey
  4. Test the end user experience


Configuring WordPress


ForgeRock assumes no responsibility for errors or omissions in the third-party software or documentation.

Create a WordPress application

  1. Go to the My Applications page and create a new WordPress application, completing (at least) the following details:
    • Name: Enter a unique name for the application.
    • Description: Enter a description of the application.
    • Website URL: Enter the URL for your website application.
    • Redirect URLs: Enter the redirect URL for your application. This is the path that users are redirected to after they have authenticated with WordPress, for example, https://<tenant-env-fqdn>/login.
    • What is..?: Enter the correct value.
    • Type: Select Web.
  2. Click Create.
  3. Click on the application name to view the OAuth Information, which includes the Client ID and Client Secret. You'll need this information when you configure the WordPress social identity provider in Identity Cloud.

Configuring the Social Identity Provider in Identity Cloud

  1. In the Identity Cloud admin UI, go to Native Consoles > Access Management > Services > Social Identity Provider Service.
  2. Choose Secondary Configurations, click Add a Secondary Configuration, and select Client configuration for WordPress.
  3. Complete the following configuration:
    • Name: Enter a name for the social identity provider, for example, WordPress.
    • Client ID: Enter the Client ID of your WordPress application.
    • Redirect URL: Enter the URL to go to once access has been granted. This must match the Redirect URL you configured in your WordPress application, for example, https://<tenant-env-fqdn>/login.
    • Scope Delimiter: Enter the scope delimiter, which is usually an empty space.
  1. Click Create.
  2. Enter the client secret for your WordPress application in the Client Secret field.
  3. Check the rest of the default settings are correct. In particular, check the following fields:
    • Enabled: Ensure the configuration is enabled.
    • Transform Script: Ensure that WordPress Profile Normalization is entered. This script transforms WordPress credential data into a normalized form.

The configuration should look similar to this:

  1. Click Save Changes.

Creating the end user journey

You can create custom end user journeys for social registration and sign in. These journeys will include all your enabled social identity providers, so you won't need to create different journeys for different providers.

See How do I create end user journeys for social registration and login in Identity Cloud? for information on how to create end user journeys for SSO with social providers.

Testing the end user experience

  1. In the Identity Cloud admin UI, go to Journeys.
  2. Click the journey that you want to test.
  3. Copy the Preview URL.
  4. Paste the preview URL into a browser using Incognito or Browsing mode.
  5. Follow the sign in and/or registration steps to test your journey.

For example, if WordPress is configured as a social identity provider for social login, end users are asked if they want to authenticate with WordPress, similar to the screenshot below. 

See Also

How do I create end user journeys for social registration and login in Identity Cloud?

Does the ForgeRock solution support social authentication?

Single Sign-On Integrations for Identity Cloud

Identity Cloud documentation:

Other social integrations:

Copyright and Trademarks Copyright © 2023 ForgeRock, all rights reserved.