This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

RESTful Single Sign-On Plugin


RESTful Single Signon Plugin is a WordPress plugin that allows you authenticate WordPress users with a RESTful identity provider, such as a Rails application using Devise with JSON responses enabled (see below).

See the FAQ for more info on how you can use this plugin to integrate with a Rails application, for example.


  1. Upload wp-restful-single-sign-on to the /wp-content/plugins/ directory
  2. Activate RESTful Single Sign-On through the ‘Plugins’ menu in WordPress


How can I use this plugin to integrate with a Rails application?
Using Devise

Devise no longer responds to JSON out of the box, and for good reason: responding with the resource typically returns way too much information.

So if you enable JSON responses, make sure that your resource exposes only the properties it should (more info below).

Enabling Devise JSON responses

in config/application.rb add the following:

config.to_prepare do
  DeviseController.respond_to :html, :json
Controlling Data in the JSON Response

If your Devise resource is the User model, add something like the following method to app/models/user.rb:

def as_json options={}
        first_name: self.first_name,
        last_name: self.last_name,

This returns only the email, first name, and last name User properties.


There are no reviews for this plugin.

Contributors & Developers

“RESTful Single Sign-On Plugin” is open source software. The following people have contributed to this plugin.




Handle erroroneous requests with grace.


Initial release of plugin