OmniAuth SmugMug
This is an OmniAuth 1.0 strategy for authenticating to SmugMug.
Get a SmugMug API key here
Usage
In a Rack application:
use OmniAuth::Builder do
provider :smugmug, ENV['SMUGMUG_KEY'], ENV['SMUGMUG_SECRET']
end
For Rails, put this in config/initializers/omniauth.rb
:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :smugmug, ENV['SMUGMUG_KEY'], ENV['SMUGMUG_SECRET']
end
License
Copyright (c) 2012 Birdbox, Inc.
This source code released under an MIT license.