commit | 839de2255f57ac5af1321327f280f79471825bc9 | [log] [tgz] |
---|---|---|
author | Cody Oss <[email protected]> | Mon May 08 16:10:46 2023 -0500 |
committer | Gopher Robot <[email protected]> | Mon May 08 21:24:50 2023 +0000 |
tree | 9317b1604e5ca6df525b9b36c4089ebea0d7df48 | |
parent | 0690208dba57758e07883623ca6933bb53812875 [diff] |
google: don't check for IsNotExist for well-known file There are cases when reading this file that a ENOTDIR is returned. Because of this it is safer to just fall-back when any error happens from reading the gcloud file. Change-Id: Ie8e45ad508643e900adb5c9787907aaa50cceb5d Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/493695 Run-TryBot: Cody Oss <[email protected]> Reviewed-by: Russ Cox <[email protected]> Auto-Submit: Cody Oss <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
oauth2 package contains a client implementation for OAuth 2.0 spec.
go get golang.org/x/oauth2
Or you can manually git clone the repository to $(go env GOPATH)/src/golang.org/x/oauth2
.
See pkg.go.dev for further documentation and examples.
We no longer accept new provider-specific packages in this repo if all they do is add a single endpoint variable. If you just want to add a single endpoint, add it to the pkg.go.dev/golang.org/x/oauth2/endpoints package.
The main issue tracker for the oauth2 repository is located at https://github.com/golang/oauth2/issues.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html. In particular: