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
- Cloud Foundry
- Dailymotion
- Deezer
- Digital Ocean
- Dropbox
- Fitbit
- GitHub
- Gitlab
- Google+
- Heroku
- InfluxCloud
- Intercom
- Lastfm
- OneDrive
- Paypal
- SalesForce
- Slack
- Soundcloud
- Spotify
- Steam
- Stripe
- Twitch
- Uber
- Wepay
- Yahoo
- Yammer
See the examples folder for a working application that lets users authenticate through Twitter, Facebook, Google Plus etc.
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
- Corey McGrillis
- Rakesh Goyal
- Andy Grunwald
- Kevin Fitzpatrick
- Sharad Ganapathy
- Glenn Walker
- Ben Tranter
- sharadgana
- Geoff Franks
- Craig P Jolicoeur
- Zac Bergquist
- Aurorae
- Rafael Quintela
- oov
- Tyler
- Noah Shibley
- DenSm
- Jacob Walker
- Samy KACIMI
- Roy
- dante gray
- Raphael Geronimi
- Noah
- Jerome Touffe-Blin
- Johnny Boursiquot
- Omni Adams
- Masanobu YOSHIOKA
- Jonathan Hall
- HaiMing.Yin
- Albin Gilles
- Dante Swift
- Felix Lamouroux
- Syed Zubairuddin
- dkhamsing
- Sasa Brankovic
- bryanl