Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/cueconfig: validate logins.json on load
This is a minor improvement to validate the access_token in logins.json, in order to avoid sending an invalid Authorization header to the registry and a cryptic error "oauth2: token expired and refresh token is not set". Fixes #3038 Change-Id: Ie5a239e8877e578cb78a033bb7b4b9b38c27f303 Signed-off-by: Rustam Abdullaev <rustamabd@gmail.com> Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1193244 TryBot-Result: CUEcueckoo <cueckoo@cuelang.org> Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com> Reviewed-by: Roger Peppe <rogpeppe@gmail.com>
- Loading branch information