OAuth / OpenID Connect

How to set up OAuth SSO on WordPress?

7 views 0

Setting up OAuth Single Sign-On (SSO) on WordPress is simple and secure using the miniOrange OAuth SSO plugin, which allows users to log in with Google, Facebook, Azure AD, or any OAuth 2.0/OpenID provider in just a few steps.

Step 1: Install and Activate the Plugin

  • Log in as an admin to your WordPress dashboard.
  • Go to Plugins > Add New and search for “OAuth Single Sign On – SSO (OAuth Client)” by miniOrange.
  • Click Install Now and then Activate.

Step 2: Configure Your OAuth Provider

  • Log in to your OAuth provider’s developer console (e.g., Google, Okta, Auth0).
  • Create a new application (usually “Web Application”).
  • Copy the Callback/Redirect URL from the miniOrange plugin settings and paste it into your provider’s app configuration.
  • Save and note down your Client ID and Client Secret.

Step 3: Configure the miniOrange Plugin

  • Go to miniOrange OAuth > Configure OAuth in your WordPress dashboard.
  • Add a new application: select a pre-configured provider (like Google) or choose Custom OAuth 2.0 App.
  • Enter the following details:
    • App Name
    • Client ID
    • Client Secret
    • Authorization / Token / User Info endpoints
    • Scope: openid, email, profile
  • Save your configuration.

Step 4 (Optional): Map User Attributes and Roles

  • Test the configuration to ensure the connection works properly.
  • Map attributes like username and email to WordPress fields.
  • Set role mapping to assign WordPress roles to users after performing SSO.

Step 5: Add the SSO Login Button

  • Go to Appearance > Widgets and drag the OAuth login widget to a visible area.
  • Test in an incognito browser window — users can now log in securely with one click.

Benefits of Using miniOrange:

  • Eliminates password sharing for better security.
  • Simplifies user login with a single-click experience.
  • Automates user provisioning and role assignment.
  • Compatible with popular identity providers and headless WordPress setups.

To learn more about the product and explore its key features, visit the miniOrange WordPress OAuth SSO page.

If you have any questions or need assistance, feel free to contact us at oauthsupport@xecurify.com. We're happy to help!

Was this helpful?


Hello there!

Need Help? We are right here!

support