Add 'Sign in with Google' to a Go web application without manually managing OAuth token exchanges.
Build a Go tool that accesses a user's GitHub repositories by handling OAuth 2.0 authorization automatically.
Connect a Go backend to any OAuth 2.0 provider using the built-in endpoints sub-package.
| golang/oauth2 | docker/cli | tendermint/tendermint | |
|---|---|---|---|
| Stars | 5,852 | 5,850 | 5,860 |
| Language | Go | Go | Go |
| Setup difficulty | moderate | hard | hard |
| Complexity | 2/5 | 4/5 | 5/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires registering your app with an OAuth provider (like Google or GitHub) to obtain client credentials before running.
This is the official Go library for OAuth 2.0, maintained by the Go team. OAuth 2.0 is the standard protocol used when an app asks permission to access your account on another service, such as signing in with Google or letting a tool read your GitHub repositories without giving it your password. The library handles the details of that authentication flow for developers writing Go programs. It manages tokens, refreshes them when they expire, and includes built-in support for connecting to Google services. There is also a separate sub-package listing endpoints for common providers. The README is short and points to the full documentation and examples on pkg.go.dev. The project is part of the official Go extended standard library and follows Go's contribution process, which uses a code review system called Gerrit rather than standard GitHub pull requests.
The official Go library for OAuth 2.0, handles the sign-in-with-Google or connect-to-GitHub authentication flow, token management, and automatic token refresh for Go programs.
Mainly Go. The stack also includes Go.
Part of the official Go extended standard library, specific license not stated in the explanation.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.