yatish27 / salesforce_bulk_api

A Ruby client for Salesforce's bulk API
MIT License
77 stars 99 forks source link

@session_id is nil when using Restforce #53

Closed demonmind closed 8 years ago

demonmind commented 9 years ago

Hi,

when I user Restforce client with username and password + client_id and client_secret the @session_id is is nil. Instead if i use a token from Salesforce OAuth2 authentication with no username and password the @session_id is correctly set.

Is there any workaround for this?

jeffdonthemic commented 8 years ago

@demonmind, take a look at this code. Should successfully return a sessionId for you.