FIX: Don't add `code` and `state` since most servers dont' want it

This commit is contained in:
Robin Ward 2017-03-28 17:35:41 -04:00
parent 6cbeeffc73
commit 5959f5f1bb
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ class ::OmniAuth::Strategies::Oauth2Basic < ::OmniAuth::Strategies::OAuth2
id: access_token['id']
}
end
def callback_url
full_host + script_name + callback_path
end
end
class OAuth2BasicAuthenticator < ::Auth::OAuth2Authenticator