You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LinkedIn requires parenthesis to indicate parameters to return. OAuth2 encodes parenthesis to %28 and %29 which results in an error from LinkedIn. I found this code but it does not work. Why?
def skip_url_encode_option, do: [hackney: [path_encode_fun: fn a -> a end]]
def get_user_id!(client) do
response = OAuth2.Client.get!(client, "/v1/people/~:(id)?format=json", [], skip_url_encode_option)
end
The text was updated successfully, but these errors were encountered:
LinkedIn requires parenthesis to indicate parameters to return. OAuth2 encodes parenthesis to %28 and %29 which results in an error from LinkedIn. I found this code but it does not work. Why?
The text was updated successfully, but these errors were encountered: