I am trying to implement stackexchangeStack 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?