Ruby on Rails
Friday, November 25, 2016
Hi all,
-- Can't seem to find why I'm getting an "invalid_redirect_uri"
When I go to "/auth/createsend/" the link does redirect me to campaignmonitor user login screen, but when I click on "Allow access" I'm getting the "invalid_redirect_uri" error.
I have an entry in my routes.rb file with the exact url that I've registered in CampaignMonitor permited Applications.
CampaignMonitor url -> http://127.0.0.1:3000/auth/createsend/callback
Routes.rb entry -> get '/auth/:provider/callback',to:'sessions#create'
Thanks in advance!
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/7cf895e4-0997-4fc6-bd0a-eb8ec6e45756%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment