-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Function client_response.was_successful() return False instead of True #7
Comments
Hiya, I was able to login, however, the order of the arguments has changed to be more consistent with other libraries. You can see some discussion about this issue here: https://fusionauth.io/community/forum/topic/311/trouble-getting-the-user-object-post-login/13 In particular, here's the order of parameters for that function:
You can see there that the Can you please try that and see if it addresses the issue? |
Hi! :)
Yes, the problem is (was...) the parameters order.
I wasted some time to understand that the problem was the version, but I
didn't think (nor had I found in the documentation) that the order of the
parameters had been changed.
:(
anyway it's ok!
thx
|
Yes, I agree we need to update the documentation. I have opened a PR for this: FusionAuth/fusionauth-site#214 I'm glad you solved the issue. I'll close this out. |
Hi.
With this code:
client_response = client.exchange_o_auth_code_for_access_token(authCode,redirectURL,applicationID,clientSecret)
the value of client_response.was_successful() is True with version 1.18.0, but with 1.19.0 the returned value is False.
In the last case the error_response was: <Response [401]>
The text was updated successfully, but these errors were encountered: