0 votes
1 view
in Salesforce by (11.9k points)

I tried login functionality using 'omnioauth-salesforce' used salesforce developer login, I have mentioned the callback http://localhost:3000/auth/salesforce/callback inside connected app

in my devise.rb

config.omniauth :salesforce, "consumer_id","consumer_secret"

when I click the login link /users/auth/salesforce/ I am getting this error


1 Answer

0 votes
by (31k points)

Looks like you are using localhost:3000 in your app for callback URL in salesforce. It won't work because salesforce doesn't recognize localhost of your local PC. You should use static IP like

"" rather than "https://localhost:3000".

Welcome to Intellipaat Community. Get your technical queries answered by top developers !