Explore Courses Blog Tutorials Interview Questions
0 votes
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 (32.1k points)
edited by

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".

Go for this in-depth job-oriented Salesforce Certification Course now!

Browse Categories