Skip to content
Photobucket strategy for OmniAuth
Find file
Latest commit 05c1e65 @zef Fix typo.
Failed to load latest commit information.
lib Fix typo.
.gitignore It works!
Gemfile It works!
LICENSE It works! Add api_subdomain to auth_hash[:info], which is required for some Pho…
Rakefile It works!
omniauth-photobucket.gemspec It works!

OmniAuth Photobucket

A Photobucket strategy for OmniAuth 1.0.


Add this line to your application's Gemfile:

gem 'omniauth-photobucket'

And then run bundle.


use OmniAuth::Builder do

# or in your devise config:
config.omniauth :photobucket, PHOTOBUCKET_KEY, PHOTOBUCKET_SECRET

Auth Hash Schema

The following information is provided back to you for this provider:

  provider: 'photobucket',
  uid: 'photobucket_username',
  info: {
    name:     'photbucket_username',
    nickname: 'photbucket_username',
    urls: {
      home: '',
      # You'll need to store this for some API calls
      api_subdomain: ''
  credentials: {
    token:  'the_token',
    secret: 'the_secret'
  extra: { 
    # check this out for a few other small things
    raw_info: raw_info_from_request
Something went wrong with that request. Please try again.