chulkilee/omniauth-sfdc-background


License: MIT

Language: Ruby


omniauth-sfdc-background

OmniAuth strategy for logging in to salesforce.com without leaving your app.

To use OAuth, check omniauth-salesforce.

Basic Usage

require 'sinatra'
require 'omniauth'
require 'omniauth-sfdc-background'

class MyApplication < Sinatra::Base
  use Rack::Session
  use OmniAuth::Builder do
    provider :sfdc_background,
             ENV['SFDC_CLIENT_ID'], ENV['SFDC_CLIENT_SECRET'],
             host: ENV['SFDC_HOST'], name: 'salesforce'
  end
end

Project Statistics

Sourcerank 4
Repository Size 8.79 KB
Stars 0
Forks 0
Watchers 1
Open issues 1
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Chulki Lee

Something wrong with this page? Make a suggestion

Last synced: 2018-05-06 01:20:27 UTC

Login to resync this repository