Closed dennishall3 closed 10 months ago
This should be fixed by #143. If you get a chance, please see if it fixes it for you.
My apologies for the lengthy delay. I only just realized why I never repro'd this: my tests and personal use cases relied on old API apps which used long-lived tokens. 🤦
Hello, and thank you for the great SDK !
Describe the bug When using an
UserAuthDefaultClient
with anAuthorizationState::Refresh
, the obtention ofaccess_token
does not work and returns the following error:BadRequest({"error": "invalid request", "error_description": "No auth function available for given request"})
.To Reproduce Create a client with
and try to use it. The
obtain_access_token
method will fail.Expected Behavior The access token should be obtained without any problem.
Actual Behavior There was an error.
Versions
Additional context After investigation a bit, here is what I found.
The doc specifies the following request to get an access_token:
but I feel like the SDK is actually doing:
also works.
Thank you