realdoug / omniauth-salesforce

OmniAuth strategy for salesforce.com
MIT License
65 stars 90 forks source link

Sandbox Login Issue #23

Open JPWallhorn opened 7 years ago

JPWallhorn commented 7 years ago

Hey,

I'm getting an invalid authentication error message when I try to login to my sandbox. I just modified the omniauth.rb and added the second provider for the sandbox. The URL / services oAuth2 URL actually reflects test.salesforce.com instead of login.salesforce.com but there is an URI mismatch now.

First it was http://localhost:3000/auth/salesforce/callback ... Shouldn't that be http://localhost:3000/auth/salesforcesandbox/callback now?

Thank you