The Rails Integration_API plugin enables single sign-on between a Rails application and any number of WordPress installations.
This plugin enables single sign-on between a Rails application and any number of WordPress installations. You can view an online demo showing a Rails app integrated with a WordPress app.
The key idea of the Integration API is to add a web services API into the existing Rails application, which allows one or more 3rd party apps to get the information they need, when they need it.
The API code can be added to any Rails app without modification. The Rails app stays in control of all sign-in and sign-out functions.
The 3rd party app, such as WordPress, is installed in a subdirectory of the Rails app on the same host. Alternatively, it can be installed running on a different port. These configurations will allow it to access the Rails cookie, which it needs to do to verify that the current user is logged in.
This plugin gives the administrator a couple of options about how the tight the integration should be (see the screenshots):