Skip to content

BradyBrenot/goth

 
 

Repository files navigation

Goth: Multi-Provider Authentication for Go Build Status

Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.

Unlike other similar packages, Goth, let's 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.

Docs

The API docs can be found at http://godoc.org/github.com/markbates/goth

Installation

$ go get github.com/markbates/goth

Supported Providers

  • GitHub
  • Twitter
  • Facebook
  • Google+
  • Spotify
  • Linkedin
  • Lastfm
  • Twitch
  • Dropbox

Examples

See the examples folder for a working application that lets users authenticate through Twitter, Facebook or Google Plus.

Issues

Issues always stand a significantly better chance of getting fixed if the are accompanied by a pull request.

Contributing

Would I love to see more providers? Certainly! Would you love to contribute one? Hopefully, yes!

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write Tests!
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request

Contributers

  • Mark Bates
  • Tyler Bunnell
  • Craig P Jolicoeur
  • Ben Tranter
  • oov
  • Noah Shibley
  • Tyler
  • Rafael Quintela
  • DenSm
  • Noah
  • dkhamsing
  • Jonathan Hall
  • Zac Bergquist
  • Masanobu YOSHIOKA
  • HaiMing.Yin

About

Package goth provides a simple, clean, and idiomatic way to write authentication packages for Go web applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%