realdoug/omniauth-salesforce

Sandbox Login Issue

JPWallhorn opened this issue · 0 comments

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