https://github.com/dasch/warden-facebook
A Facebook Connect strategy for Warden
https://github.com/dasch/warden-facebook
Last synced: 8 months ago
JSON representation
A Facebook Connect strategy for Warden
- Host: GitHub
- URL: https://github.com/dasch/warden-facebook
- Owner: dasch
- License: mit
- Created: 2010-10-09T15:48:49.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2010-10-11T07:44:15.000Z (over 15 years ago)
- Last Synced: 2025-03-23T14:37:50.122Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 480 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: LICENSE
Awesome Lists containing this project
README
Facebook Connect for Warden
===========================
A [Warden](http://github.com/hassox/warden) strategy that provides Facebook
Connect authentication through OAuth2.
The implementation is based on Corey Donohoe's
[warden-github](http://github.com/atmos/warden-github).
Usage
-----
use Warden::Manager do |manager|
manager.default_strategies :facebook
manager.failure_app = BadAuthentication
manager[:facebook_callback_url] = '/auth/facebook/callback'
manager[:facebook_app_id] = 'your_app_id'
manager[:facebook_app_secret] = 'your_app_secret'
manager[:facebook_scopes] = 'email,offline_access'
end
License
-------
Copyright (c) 2010 Corey Donohoe and Daniel Schierbeck
See LICENSE for details.