From 7c6de3ff1fbf40a33e27bf029056cad3e1b241d1 Mon Sep 17 00:00:00 2001 From: Yuriy Tymchuk Date: Thu, 18 Jul 2013 13:06:27 +0300 Subject: [PATCH] Added correct stackoverflow oauth url to client options --- lib/omniauth/strategies/stackoverflow.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/omniauth/strategies/stackoverflow.rb b/lib/omniauth/strategies/stackoverflow.rb index 39b64e5..f9e9141 100644 --- a/lib/omniauth/strategies/stackoverflow.rb +++ b/lib/omniauth/strategies/stackoverflow.rb @@ -14,7 +14,8 @@ class NoAuthorizationCodeError < StandardError; end option :client_options, { :site => 'https://stackexchange.com', - :token_url => '/oauth/access_token' + :token_url => '/oauth/access_token', + :authorize_url => '/oauth' } option :token_params, {