-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sgartifactregistry): determine if access token is expired on npm…
… auth When using `gcloud auth print-access-token`, gcloud will print the token regardless on whether the token is expired or not. We use gcloud to figure out if the token is expired for a better user experience (instead of the user getting back a 403 which can be confusing)
- Loading branch information
1 parent
4907ca6
commit 419fcdb
Showing
1 changed file
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters