Search Results :

×

Login with Entra External ID (CIAM) Single Sign-On (SSO) for WordPress

Set up Single Sign-On (SSO) on your WordPress website via Entra External ID (CIAM) SSO using our OAuth & OpenID Connect Single Sign-On plugin for WordPress. Implementing SSO for WordPress using Entra External ID (CIAM) allows users to log into your websites and applications with Entra External ID (CIAM) credentials. Entra External ID (CIAM) acts as the OAuth Provider and WordPress acts as the OAuth Client. Entra External ID (CIAM) SSO for WordPress provides smooth login between WordPress and Entra External ID (CIAM) using Entra External ID (CIAM) SSO login with a single click. The SSO for WordPress plugin also provides advanced Entra External ID (CIAM) SSO features like user profile attribute mapping, and role mapping. You can also protect your complete WordPress site behind Entra External ID (CIAM) SSO. Entra External ID (CIAM) OAuth SSO plugin secures the user's login process and improves user authentication using Entra External ID (CIAM) SSO for WordPress. Follow the steps in the guide below to set up your SSO for WordPress via installing this plugin.


Note and Contact Us - SSO between two WordPress sites

Note: Achieving Single Sign-On (SSO) integration between Entra External ID (CIAM) and WordPress requires the paid version of the OAuth Single Sign-On (SSO) plugin for WordPress. You can test the integration on our sandbox trial, which comes with full support for evaluation purposes.

  • Go to https://portal.miniorange.com and log in with your miniOrange account which you have used to purchase the license.
  • Go to the Downloads tab and download the Plugin.
  • Now, go to WordPress activate the downloaded plugin.
  • Log into the plugin with the account under which you have purchased the license.
  • Enter your license key (The license key is under the Manage License -> License Keys section).

  • Sign in to the Microsoft Azure portal.
  • Select Azure.
  • Entra External ID (CIAM) Single Sign-On (SSO) OAuth - Select azure
  • Go to Overview and copy the Tenant ID.
  • Entra External ID (CIAM) Single Sign-On (SSO) OAuth - copy tenant id
  • Go to Domain names on the left-hand side and copy the subdomain.
  • Entra External ID (CIAM) Single Sign-On (SSO) OAuth - copy subdomain
  • Go to App registrationsNew registration → create a new application.
  • Entra External ID (CIAM) Single Sign-On (SSO) OAuth - create application
  • Register an application → configure the required settings → then click Register.
  • Entra External ID (CIAM) Single Sign-On (SSO) OAuth - register application
  • Copy the Client ID and keep it handy for configuring the OAuth plugin.
  • Entra External ID (CIAM) Single Sign-On (SSO) OAuth - copy client id
  • Go to Certificates & secrets → create a new client secret → click on Add.
  • Entra External ID (CIAM) Single Sign-On (SSO) OAuth - go to certificates & secrets
  • Copy the client secret value and keep it handy for configuring the OAuth plugin.
  • Entra External ID (CIAM) Single Sign-On (SSO) OAuth - copy client secret
  • Go to Authentication and add the redirect/callback URL if needed.
  • Entra External ID (CIAM) Single Sign-On (SSO) OAuth - add redirect url

    You've successfully configured SSO for WordPress using Entra External ID (CIAM) as OAuth Provider, allowing users to log in to your WordPress site with their Entra External ID (CIAM) credentials.



  • Go to Configure OAuth tab and search your application name to add a new client application into your website, Here Custom OpenID Connect APP.
  • Entra External ID (CIAM) Single Sign-On (SSO) OAuth - Add new application
  • Configure App Name, Client ID, Client Secret, Domain from Entra External ID (CIAM) SSO application
  • Please refer the below table for configuring the Scope & endpoints for Entra External ID (CIAM) in the plugin.

  • Scope: openid profile email
    Authorize Endpoint: https://<subdomain>.ciamlogin.com/<tenant-id>/oauth2/v2.0/authorize
    Access Token Endpoint: https://<subdomain>.ciamlogin.com/<tenant-id>/oauth2/v2.0/token
    Login with Entra External ID (CIAM) Single Sign-on (SSO) - Add App name, TenantID
  • Choose your Grant Type from the list of options. Click on Save Settings to save the configuration.
  • Then click on Test Configuration to test the configuration. You will see all the values returned by your OAuth Provider to WordPress in a table. If you don't see value for First Name, Last Name, Email or Username, make the required settings in your OAuth Provider to return this information.
  • Login with Entra External ID (CIAM) Single Sign-on (SSO) - OAuth Test Configuration

    You have successfully configured WordPress as OAuth Client to enable Entra External ID (CIAM) Single Sign-On (SSO) with WordPress, allowing user authentication through the Entra External ID (CIAM) login.

  • User Attribute Mapping is mandatory for enabling users to successfully login into WordPress. We will be setting up user profile attributes for WordPress using below settings.

Finding user attributes

  • Once you see all the values in Test Configuration, go to Attribute / Role Mapping tab, you will get the list of attributes in a Username dropdown.
  • Entra External ID (CIAM) Single Sign-On (SSO) - Attribute Mapping
  • Go to WordPress Left Panel > Appearances > Widgets.
  • Select miniOrange OAuth. Drag and drop to your favourite location and save.
  • Entra External ID (CIAM) Single Sign-on (SSO) - create-newclient login button setting
  • Go to WordPress Left Panel > Appearances > Widgets.
  • Select miniOrange OAuth. Drag and drop to your favourite location and save.
  • Entra External ID (CIAM) Single Sign-on (SSO) - create-newclient login button setting
  • Open your WordPress page and you can see the Entra External ID (CIAM) SSO login button there. You can test the Entra External ID (CIAM) Single Sign-On (SSO) - Entra External ID (CIAM) OAuth now.
  • Make sure the "Show on login page"option is enabled for your application. (Refer to the below image)
  • Entra External ID (CIAM) Single Sign-on (SSO) - Entra External ID (CIAM) OAuth - create-newclient login button setting
  • Now, go to your WordPress Login page. (Eg. https://< your-wordpress-domain >/wp-login.php)
  • You will see an Entra External ID (CIAM) SSO login button there. Once you click the login button, you will be able to test the Entra External ID (CIAM) Single Sign-On (SSO) - Entra External ID (CIAM) OAuth.

In conclusion, after successfully configuring Entra External ID (CIAM) as an OAuth Provider and WordPress as an OAuth Client, you've achieved a smooth and secure authentication process for your users. Through Entra External ID (CIAM) Single Sign-On (SSO), you can ensure a robust user experience within the WordPress environment. This allows user authentication through the Entra External ID (CIAM) login. Through the integration of Entra External ID (CIAM) with WordPress, users can securely log into their WordPress accounts with their existing Entra External ID (CIAM) credentials.


This issue occurs when the self-service sign-up flow is not configured properly in the Microsoft Entra External ID (CIAM) tenant. Please ensure that the self-service sign-up/user flow is correctly enabled and configured in Azure.

To properly log users out from Azure remotely, the logout URL requires the login_hint parameter. Configuration Requirements
If the login_hint value is not present in the ID token, enable it from the Microsoft Entra Admin Center by following the steps below:

  • Navigate to: App registrations → [Your Application] → Token configuration
  • Click on: Add optional claim
  • Select: ID token
  • Enable the following optional claim: login_hint
  • Save the configuration.
  • Ensure that the OAuth request includes the following scopes: openid profile



ADFS_sso ×
Hello there!

Need Help? We are right here!

support