mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
x/oauth2: populate RetrieveError from DeviceAuth Endpoints may return errors when attempting to request device authorization. Currently, these error codes are ignored and an otherwise empty RetrieveError returned. This change populates the RetrieveError similar to the oauth2 token exchange. full diff: https://github.com/golang/oauth2/compare/v0.30.0...v0.34.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>