Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.
Unlike other similar packages, Goth, lets you write OAuth, OAuth2, or any other
protocol providers, as long as they implement the Provider
and Session
interfaces.
This package was inspired by https://github.com/intridea/omniauth.
The API docs can be found at http://godoc.org/github.com/markbates/goth
$ go get github.com/markbates/goth
- Amazon
- Bitbucket
- Box
- Digital Ocean
- Dropbox
- GitHub
- Google+
- Lastfm
- OneDrive
- SalesForce
- Spotify
- Twitch
- Yammer
See the examples folder for a working application that lets users authenticate through Twitter, Facebook or Google Plus.
Issues always stand a significantly better chance of getting fixed if the are accompanied by a pull request.
Would I love to see more providers? Certainly! Would you love to contribute one? Hopefully, yes!
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Write Tests!
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
- Mark Bates
- Tyler Bunnell
- Sharad Ganapathy
- Ben Tranter
- sharadgana
- Craig P Jolicoeur
- Zac Bergquist
- oov
- Rafael Quintela
- Tyler
- Noah Shibley
- DenSm
- Noah
- Glenn Walker
- Albin Gilles
- Jonathan Hall
- HaiMing.Yin
- dkhamsing
- Rakesh Goyal
- Johnny Boursiquot
- Jerome Touffe-Blin
- bryanl
- Omni Adams
- Masanobu YOSHIOKA