FindSoftware

Goth

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

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.

Identity

Status
Active
Maintainer
Mark Bates3
Maintained by
Individual
First release
20174

Rendering and deploy

Install with
go get2

Releases

Current major version
15
Last release
2025-08-186

Adoption

GitHub stars
6,6251
Contributors
1567
Dependent repositories
4938
Dependent packages
2718

Why these figures do not compare

Sources

  1. 2026-11-09: links, Written in, License, GitHub stars
    api.github.com/repos/markbates/goth
  2. 2026-11-09: Categories, Runtime, Install with
    raw.githubusercontent.com/markbates/goth/master/README.md
  3. 2026-11-09: License model, Maintainer
    raw.githubusercontent.com/markbates/goth/master/LICENSE.txt
  4. 2026-11-09: First release
    api.github.com/repos/markbates/goth/commits/488a04ae13f57b10e55e1a32c8cd62f9cc66c671
  5. 2026-11-09: Current major version
    github.com/markbates/goth/releases/tag/v1.82.0
  6. 2026-11-09: Last release
    api.github.com/repos/markbates/goth/releases/tags/v1.82.0
  7. 2026-11-09: Contributors
    api.github.com/repos/markbates/goth/contributors?per_page=1
  8. 2026-11-09: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fmarkbates%2Fgoth

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON