Skip to main content
3 of 3
added 1 character in body; edited tags
Brock Adams
  • 13k
  • 5
  • 39
  • 64

`redirect_uri` is not under the registered domain for this application

I am trying to implement Stack Exchange authorization in my RoR application.

But I get the error :

redirect_uri is not under the registered domain for this application

in Gemfile use:

gem 'devise'
gem 'omniauth'
gem 'omniauth-stackexchange'

in devise.rb:

 config.omniauth: stackexchange, 'CLIENT_ID', 'CLIENT SECRET', callback_url: 'stackexchange.com'

Any ideas?