Provides single sign-on through OAuth2 authentication. It adds a simple user model to your application which can be extended easily.
This gem is part of Vidibus, an open source toolset for building distributed (video) applications.
Installation
Add gem 'vidibus-service'
to your Gemfile. Then call bundle install
on your console.
Obtaining user data
After authorization via OAuth2 this gem requests user data from the providing service. It expects GET /oauth/user
to return JSON data. The dataset must at least include the user's UUID.
The Vidibus::Oauth2Server gem will provide a controller for this task.
Dependencies
In order to perform authentication, this gem depends on services provided by the Vidibus::Service gem.
TODO
Explain usage and integration.
Copyright
Copyright (c) 2010-2013 Andre Pankratz. See LICENSE for details.