No commit activity in last 3 years
No release in over 3 years
A warden strategy for easy oauth integration with Salesforce.com and Databasedot.com
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.2.0
~> 1.4.0
~> 0.5.3
>= 0
~> 2.8.0
>= 0

Runtime

~> 1.5
~> 0.5.2
~> 1.6.1
~> 1.0
~> 1.1
 Project Readme

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