Guide to setup single sign-on between two WordPress sites | WordPress Single Sign On

If you want users to login to your WordPress site using their other WordPress site credentials, you can simply do this by installing the OAuth Server plugin on one site(site A) and OAuth Client plugin on another site(site B). Install our OAuth Server plugin on the Wordpress site 'A' where your users are stored and you want to login to another site 'B' using site 'A' account credentials. Install our OAuth Client plugin on Wordpress site 'B' where you want to perform SSO. You can map your WordPress site 'B' roles based on WordPress site 'A' attributes/groups. To know more about other features we provide in WP OAuth Client plugin, you can click here and for OAuth Server Plugin you can click here.

Configure OAuth Server

  • Click on miniOrange OAuth Server on the left side menu and follow the instructions.
  • Click on Add Client button to create a new client.
  • Enter Client name as you want. Copy Redirect / Callback URL from OAuth Client plugin on site 'B' and enter under Authorized Redirect URI field. Click on Save client button.
  • Note down Client Id, Client Secret and the Endpoints to configure in the OAuth Client plugin

Configure OAuth Client

  • After activating OAuth Single Sign On – SSO (OAuth client) plugin go to miniOrange OAuth.
  • Click on Select Application and search WordPress OAuth Provider application or click on WordPress application from the given applications.
  • Configure OAuth Client with OAuth Server plugin. Click on Save Settings button once you have entered all mandatory information.
  • Click on Test Configuration button to verify if you have configured correctly. On successful configuration, you will get Attributes Name and Attribute Values on Test Configuration window.
  • Go to Attribute/Role Mapping tab to map attribute Names provided by OAuth Server plugin by selecting attribute from the dropdown and click on Save Settings.
  • Go to WordPress Menu -> Appearance -> Widget.
  • Drag and drop miniOrange OAuth widget wherever you want on your website as shown in screenshot given below.
  • Copy paste your site-URL on private window and you will be able to see Login button with display name you have given.
  • Once logged in, you will be able to access your WordPress profile.
    OAuth Single Sign On – SSO (OAuth client)
    WordPress OAuth Server ( Login with WordPress )

    OAuth Server Endpoints and Scope:

    Client ID : from the step 4 above
    Client Secret : from the step 4 above
    Scope: openid
    Authorize Endpoint: https://<your-site-url>/wp-json/moserver/authorize
    Access Token Endpoint: https://<your-site-url>/wp-json/moserver/token
    Get User Info Endpoint: https://<your-site-url>/wp-json/moserver/resource

How to Setup SSO between two WordPress sites

Free Trial

If you are facing any difficulty please mail us on

Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to