Simple Single Sign On


This plugin is designed and developed for use with WP OAuth Server (
Once Single Sign On Client is installed, it will add Single Sign On abilities to used another WordPress sites users.

Use Case

Site A is your main WordPress site but you need to launch another WordPress website or service (Site B).
Instead of having all your users create a new account on the new website, you can simply use Sign Sign on from Site A.


  1. Upload the plugin files to the /wp-content/plugins/single-sign-on-client directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Single Sign On screen to configure the client


Does this plugin work with other OAuth 2.0 Servers?

Although it has been designed solely for WP OAuth Server, you may still be able to use this plugin for other OAuth 2.0 servers.

I get a Single Sign On Error

In certain cases the user will be presented with a message “Single Sign On Error”. This is because the use either has a
username already and the emails do not match or visa versa. The solution is to completely remove the associated user from
the client site.


Very helpful plugin. If you write document for Spring Boot and Spring Security, It will be huge.
Hi, thank you for developing this plugin. But When I Click on single sign On button it shows me error in JSON format {"error":"error","error_description":"temporarily unavailable"} Please Help.
One of SSO's features is that one site logout, other auto logout. How to solve it. e.g. 1 The main site logout, other's site auto logout. 2 The child site logout, other's site auto logout.


“Simple Single Sign On” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。


將 Simple Single Sign On 外掛本地化為台灣繁體中文版。


任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄



  • Modified for use with the latest WordPress and Beta Plugin
  • Codebase update for PHP 8
  • Fixed warnings about unused tags


  • ADDED: Login Only Restriction. Prevents registration of new users during SSO.
  • FIXED: Dashboard redirect issue
  • Refactored codebase for future development
  • Tested with the latest WordPress and Beta Plugin


  • Refactoring of core plugin functions


  • Added new logic to capture possible mismatch username by using email as a fallback user lookup.


  • Added custom redirect_uri to trigger callback to allow for custom redirect.
  • Added First Name and Last Name user Mapping
  • Removed default user from allowable SSO. This user should already have access.


  • Added auto SSO functionality for all pages.


  • Added Error Handling to auth code and token request.


  • Updated Admin UI Options
  • Updated for WordPress 5.1


  • Added wpoc_user_created action. Triggered when a new user is created via Single Sign On.
  • Added wpoc_user_login action. Triggered when a user is logged into the system via Single Sign On.


  • FIX: Missing function call to use new filter added in version 1.3.0


  • Added “wpssoc_user_redirect_url” filter to allow for custom user redirects after successful login.


  • Init repo push