-
-
Notifications
You must be signed in to change notification settings - Fork 983
Using Multiple Providers
Michael Bleigh edited this page Nov 15, 2010
·
2 revisions
OmniAuth comes with a middleware to easily combine multiple strategies on a single application. It works like so:
use OmniAuth::Builder do
provider :twitter, 'CONSUMER_KEY', 'CONSUMER_SECRET'
provider :open_id, OpenID::Store::Filesystem.new('/tmp')
end
You may specify a class instead of a symbol to integrate custom strategies.
User Docs
- List of Strategies
- Frequently Asked Questions
- Help Topics
- External Resources
- Upgrading to 1.0
- Upgrading to 2.0
- Auth Hash Schema
Strategy Developers
Project Resources