x/oauth2: confusing definition of DeviceAuthResponse #63543
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
https://go-review.googlesource.com/c/oauth2/+/450155 recently added oauth2.DeviceAuthResponse:
According to https://datatracker.ietf.org/doc/html/rfc8628#section-3.2
Since
Expiry
is atime.Time
it should imho not marshal/unmarshal toexpires_in
. Also see #61417 for related discussion on how to serialiseexpires_in
./cc @hickford
The text was updated successfully, but these errors were encountered: