We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64a50f7 commit d484946Copy full SHA for d484946
lib/omnicontacts/authorization/oauth2.rb
@@ -56,9 +56,6 @@ def token_req_params code
56
end
57
58
def access_token_from_response response
59
- if auth_host == "graph.facebook.com"
60
- response = query_string_to_map(response).to_json
61
- end
62
json = JSON.parse(response)
63
raise json["error"] if json["error"]
64
[json["access_token"], json["token_type"], json["refresh_token"]]
0 commit comments