# Goth

Go package for writing authentication providers, so Go web applications can sign users in through OAuth and other protocols.


Source: https://findsoftware.frbit.cloud/goth/
Last reviewed: 2026-11-09
Listed since: 2026-11-09

## Record

### Links

- repository: https://github.com/markbates/goth

### Identity

- status: active
- maintainer: Mark Bates
- maintainerType: individual
- parent: unknown
- firstRelease: 2017
- hqCountry: unknown

### Kind

- category: auth
- hosting: binary
- language: go
- runtime: binary
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: go get

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 1
- latestReleaseDate: 2025-08-18

### Adoption

- githubStargazers: 6625
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 156
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 493
- dependentPackages: 271

### Sources

- urls: https://api.github.com/repos/markbates/goth (read 2026-11-09)
- language: https://api.github.com/repos/markbates/goth (read 2026-11-09)
- category: https://raw.githubusercontent.com/markbates/goth/master/README.md (read 2026-11-09)
- runtime: https://raw.githubusercontent.com/markbates/goth/master/README.md (read 2026-11-09)
- installMethod: https://raw.githubusercontent.com/markbates/goth/master/README.md (read 2026-11-09)
- license: https://api.github.com/repos/markbates/goth (read 2026-11-09)
- licenseModel: https://raw.githubusercontent.com/markbates/goth/master/LICENSE.txt (read 2026-11-09)
- maintainer: https://raw.githubusercontent.com/markbates/goth/master/LICENSE.txt (read 2026-11-09)
- firstRelease: https://api.github.com/repos/markbates/goth/commits/488a04ae13f57b10e55e1a32c8cd62f9cc66c671 (read 2026-11-09)
- currentMajor: https://github.com/markbates/goth/releases/tag/v1.82.0 (read 2026-11-09)
- latestReleaseDate: https://api.github.com/repos/markbates/goth/releases/tags/v1.82.0 (read 2026-11-09)
- githubStargazers: https://api.github.com/repos/markbates/goth (read 2026-11-09)
- contributors: https://api.github.com/repos/markbates/goth/contributors?per_page=1 (read 2026-11-09)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fmarkbates%2Fgoth (read 2026-11-09)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fmarkbates%2Fgoth (read 2026-11-09)

## Notes

Goth lets a Go web application offer sign-in through outside services. Each service is a provider that implements the package's Provider and Session interfaces, and the README lists the providers the package ships with.

Sessions default to a cookie store from the gorilla/sessions package. The README shows how to replace that store at startup with one that sets its own secret, path, HTTP-only and secure options.

## Worth knowing

The README's default cookie options list the secure flag as off; its example store turns the flag on for a site served over HTTPS.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
