0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A simple authentication provider for Ruby/Rails app. Designed for mobile clients and is compatible with the OAuth 2.0 specification.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

< 5.2, >= 4.2
 Project Readme

AuthProvider Build Status Coverage Status

A simple authentication provider for Ruby/Rails app. Designed for mobile clients and is compatible with the OAuth 2.0 specification.

Installation

Add this line to your application's Gemfile:

gem 'auth_provider'

And then execute:

$ bundle

Run the installation generator with:

$ rails generate auth_provider:install

This will install the auth_provider initializer into config/initializers/auth_provider.rb, mount AuthProvider::Engine at /oauth in config/routes.rb and copy the database migration file.

At last, don't forget to run:

$ rake db:migrate

Configuration

All the configurations of auth_provider can be found in config/initializers/auth_provider.rb, just check it out!

License

MIT License.