Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Omniauth Strategy for 500px
Branch: master


latest commit ff753149a9
@arthurnn authored
Failed to load latest commit information.
lib Bump version to 1.0.0
spec first import
.gitignore first import
Gemfile first import Move License to a file Move License to a file
Rakefile first import
omniauth-500px.gemspec :scissors:

OmniAuth 500px

This gem contains the 500px strategy for OmniAuth.

For more information about the 500px api:

How To Use It

If you are using rails, you need to add the gem to your Gemfile:

gem 'omniauth-500px'

You can pull them in directly from github e.g.:

gem "omniauth-500px", :git => "git://"

Once these are in, you need to add the following to your config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
    provider :fiveHundredPx, 'consumer_key', 'consumer_secret'

User the name of the class as provider(fiveHundredPx), however to authorize, you should use the provider name which is '500px'.

You will obviously have to put in your key and secret, which you can get from

After you have the gem running and the configuration is done, you can get to the follow url to log the user in:


Now just follow the README at:


For any question, fell free to send me a tweet @arthurnn

Bitdeli Badge

Something went wrong with that request. Please try again.