Explore Courses Blog Tutorials Interview Questions
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 (32.1k 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".

Go for this in-depth job-oriented Salesforce admin certification now!

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

28.4k questions

29.7k answers


94k users

Browse Categories