I am trying to implement stackexchange 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, '14436', 'CLIENT SECRET', callback_url: 'http: // localhost: 3000'

Any ideas?