Using Authority with a Single-Sign-On App

Submitted by Nathan Long 2013-02-28 01:20:10 UTC
Source:  http://nathanmlong.com/2013/02/using-authority-with-a-single-sign-on-app/

Referenced projects

authority

Authority helps you authorize actions in your Rails app. It's ORM-neutral and has very little fancy syntax; just group your models under one or more Authorizer classes and write plain Ruby methods on them.

Rubygem authority

Total Downloads
126188
Releases
28
Current Version
3.0.0
Released
2014-04-19 00:00:00 UTC
First Release
2012-03-12 00:00:00 UTC
Depends on following gems
Depending Gems
1

Github nathanl/authority

Watchers
1129
Forks
39
Development activity
Less active
Last commit
2015-06-17 11:01:23 UTC
×

In order to continue, you must be signed in using your Github account.

If you're signing in using this account for the first time Github will ask for your permission to give access to your public user data to the Ruby Toolbox.

Although the Github Authorization page does not mention it, the request includes read-only access to your verified email address (user:email OAuth scope). This is neccessary so there's a way to notify you about comments, information about your accepted project edits and the like. You can review your notification settings on your account page once you're signed in.