-
Notifications
You must be signed in to change notification settings - Fork 114
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
DeviceFlow failing #157
Comments
EDIT: The issue I've encountered below was actually #161 I'm running into a suspiciously similar problem but with the ServiceAccount flow. My token looks like:
(i.e. it has an However, this fails with
This doesn't make sense to me given my reading of the code so I'm very confused. Weirdly enough if I replace
with
then the error goes away. Could this be some kind of serde bug? @dermesser Would appreciate if you have any ideas for this issue? Let me know if you need any more information. |
I am unsure if this is an issue with Google's backend or this library, but the DeviceFlow stopped working for me:
It fails with the following error:
When enabling the debug logger, I get the following (redacted):
This body is then parsed into a
DeviceAuthResponse
which causes the error, becauseDeviceAuthResponse
containsexpires_at
instead ofexpires_in
: https://developers.google.com/identity/protocols/oauth2/limited-input-device#step-2:-handle-the-authorization-server-responseThe text was updated successfully, but these errors were encountered: