Skip to content

aub/omniauth-tumblr2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniAuth Tumblr2

This gem is an OmniAuth 1.0 Strategy for authenticating with the Tumblr API V2

Usage

Register your application with Tumblr. Important: your callback URL needs to be specified as [site_url]/auth/tumblr/callback.

Get started by adding the Tumblr strategy to your Gemfile:

gem 'omniauth-tumblr2'

Then add the Tumblr strategy to your Rack middleware:

use OmniAuth::Builder do
  provider :tumblr, ENV['TUMBLR_KEY'], ENV['TUMBLR_SECRET']
end

In Rails, create a file like @config/initializers/omniauth.com@:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :tumblr, ENV['TUMBLR_KEY'], ENV['TUMBLR_SECRET']
end

History

This gem is borrowed heavily from Jamie Wilkinson's omniauth-twitter gem, but it supports v2 or the API and works properly in non-rails apps.

License

Copyright (c) 2012 Aubrey Holland

This source code released under an MIT license.

About

Omniauth extension for the Tumblr API V2

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages