config/initializers/omniauth.rb in wordjelly-auth-1.3.5 vs config/initializers/omniauth.rb in wordjelly-auth-1.3.6
- old
+ new
@@ -334,9 +334,11 @@
## #callback_url -> ref to it in #http://www.rubydoc.info/github/intridea/omniauth-oauth2/OmniAuth/Strategies/OAuth2#callback_url-instance_method
## that method calls 'full_host', but that may be the wrong host, especially in case of above mentioned android issue.
## make sure that the host you specify in Auth.configuration
url_to_pass_as_callback = Auth.configuration.host_name + script_name + callback_path
+
+
verifier = request.params["code"]
client.auth_code.get_token(verifier, get_token_options(url_to_pass_as_callback), deep_symbolize(options.auth_token_params))
#client.auth_code.get_token(verifier, get_token_options(url_to_pass_as_callback), deep_symbolize(options.auth_token_params))
end