oauth2: prevent NewTicker panic Harden against the fantastic edge case wherein a trusted server acts adversarially towards a client. Fixes golang/go#82658 Change-Id: Ia39f5c805f26f2c51804f7dae72db3b55a1e82eb Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/855541 Reviewed-by: Neal Patel <nealpatel@google.com> Auto-Submit: Neal Patel <neal@golang.org> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Damien Neil <dneil@google.com>
oauth2 package contains a client implementation for OAuth 2.0 spec.
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://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/oauth2.
Note: