Blizzard Single sign On SSO WordPress Plugin Setup Guide



If you want users to login to your WordPress site using their Blizzard credentials, you can simply do it using our WP OAuth Client plugin. Once you configure the Blizzard with WordPress plugin, you can allow users to SSO to your WordPress site using Blizzard. Similarly, you can map your WordPress roles based on your Blizzard attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here.



You can download OAuth Client plugin using the following link.


Download And Installation

  • Log into your WordPress instance as an admin.
  • Go to the WordPress Dashboard -> Plugins and click on Add New.
  • Seach for a WordPress OAuth Single Sign On plugin and click on Install Now.
  • Once installed click on Activate.

Step 1: Setup Blizzard as OAuth Provider

  • First of all, go to https://develop.battle.net/access and sign up/login in your account to Configure Blizzard.
  • Login to blizzard
  • Click on the Create Client button.
  • create-client
  • Fill in all the required details like Client Name, Redirect URI, Service URL. Enter your Redirect URI and Service URL which you will get from your miniOrange plugin present on your Client side under the CallBack URLs text-field. Then, click on the Save button.
  • blizzerd-details
  • After saving your application, you will get Client ID and Client Secret. Save these details as we will be requiring these later to configure OAuth client plugin.
  • blizzerd-details

    Blizzard Application Endpoints and Scope:


    Client ID : Click Here
    Client Secret : Click Here
    Scope: openid
    Authorize Endpoint: https://us.battle.net/oauth/authorize
    Access Token Endpoint: https://us.battle.net/oauth/token
    Get User Info Endpoint: https://us.battle.net/oauth/userinfo

Step 2: Setup WordPress as OAuth Client

  • Go to the Configure OAuth tab in the Plugin and search for Custom OAuth in the applications list, and select Custom OAuth 2.0 App .
  • wordpress oauth client plugin sso : save settings
  • Now, configure App Name, Client ID, Client Secret received from Blizzard Application and Click on Save Settings to save the configuration.
  • wordpress oauth client plugin sso : save settings

Step 3: User Attribute Mapping.

  • 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

    • Go to Configure OAuth tab. Scroll down and click on Test Configuration.
    • wordpress oauth client plugin : test congifuration
    • You will see all the values returned by your OAuth Provider to WordPress in a table.
    • wordpress oauth client plugin sso : test congifuration result
    • 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.
    • wordpress oauth client plugin sso : attribute/role mapping

Step 4: Login Settings / Sign In Settings.

  • The settings in SSO Settings tab define the user experience for Single Sign On. To add a login widget on your WordPress page, you need to follow below steps.
  • Sign In Settings

    • Go to WordPress Left Panel > Appearances > Widgets.
    • Select miniOrange OAuth. Drag and drop to your favourite location and save.
    • wordpress oauth client plugin sso: login button setting
    • Go to your site-URL on private window and you will be able to see Login button with display name you have given.
    • wordpress oauth client plugin sso: login button setting
    • You have successfully logged in ,Now you will be able to access your WordPress profile.
    • wordpress oauth client plugin sso: login button setting

Need Guidance?

Mail us on oauthsupport@xecurify.com for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.