Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
warden strategy for salesforce oauth
Ruby

This branch is 6 commits ahead, 146 commits behind atmos:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
config.ru
warden-salesforce.gemspec

README.md

warden-salesforce

A warden strategy that provides oauth authentication to salesforce. If you have the databasedotcom gem included in your Gemfile, you'll also get a Databasedotcom::Client instance materialized for you automatically at env['warden'].user.client.

To test it out on localhost set your callback url to 'http://localhost:9292/auth/salesforce/callback'

There's an example app in spec/app.rb.

The Extension in Action

% gem install bundler
% bundle install
% SALESFORCE_CLIENT_ID="<from SF>" SALESFORCE_CLIENT_SECRET="<from GH>" bundle exec rackup -p9393 -E none
Something went wrong with that request. Please try again.