goth

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

MIT License

Stars
5.5K
Committers
173

Bot releases are hidden (Show)

goth - v1.55.0

Published by bentranter about 5 years ago

  • Fixes provider deduction from existing sessions so that an argument is not needed on the authentication landing page. Thanks @akramer! 🎉
goth - v1.54.1

Published by bentranter over 5 years ago

  • Updates the Salesforce provider to export the AuthURL and TokenURL. This enables consumers of the package to override them, which is necessary to use custom URLs when authenticating with Salesforce Community instances. Thanks @kkirsche! 🎉
goth - v1.54.0

Published by bentranter over 5 years ago

  • Adds a new provider for Shopify. Thanks @mattevans! 🎉
goth - v1.53.0

Published by bentranter over 5 years ago

  • Updates the LinkedIn provider to accommodate the changes to their OAuth implementation. Thanks @baloo32! 🎉
goth - v1.52.0

Published by bentranter over 5 years ago

  • Adds Gitea as a provider. Thanks @techknowlogick! 🎉
goth - v1.51.0

Published by bentranter over 5 years ago

  • Adds a new provider for mail.ru. Thanks @snovichkov!
  • Updates the AzureAdV2 provider to populate the user.RawData field. Thanks @danielbprice!
  • Adds a new provider for LINE. Thanks @rbo13!
goth - v1.50.0

Published by bentranter over 5 years ago

  • Adds support for Nextcloud. Thanks @lnxbil!
  • Logs port information when running the example. Thanks @apuchitnis!
  • Removes duplicate VK provider. Thanks @tsdtsdtsd!
  • Updates the VK provider not to use the user_ids field, as it was apparently causing issues. Thanks @lukashes!
goth - v1.49.0

Published by bentranter almost 6 years ago

  • Added TypeTalk provider. Thanks @is2ei!
  • Added Yandex provider. Thanks @evgeny-mamonov!
  • Updates the new Google provider to populate user.RawData. Thanks @danielbprice!
  • Allows the Facebook provider to set the requested fields. Thanks @kobayashi!
goth - v1.48.0

Published by bentranter almost 6 years ago

  • Updates the battle.net provider to use their API's new user info endpoint when getting the user data. Thanks @Toyz! 🎉
goth - v1.47.2

Published by bentranter almost 6 years ago

  • Removes any usage of x/net/context from the library in favour of context. Thanks @sapk! 🎉
goth - v1.47.1

Published by bentranter almost 6 years ago

  • Adds Facebook field expansion support in the scopes parameter (see #236). Thanks @filinvadim! 🎉
goth - v1.47.0

Published by bentranter about 6 years ago

Adds two new providers,

It also deprecates the existing Google+ provider (called gplus in the codebase) in favour of the new Google provider, as the new Google provider requires fewer permissions by default, and will follow Google's own x/oauth2/google provider for authentication endpoints.

goth - v1.46.1

Published by bentranter about 6 years ago

Fixes the OpenID Connect provider to more accurately follow the OpenID Connect Audiences spec by fixing a bug where we'd only check the aud claim if it were a string, but not an array. We now handle the cases where,

  1. The aud is a single string containing the Client ID
  2. The aud is an array. In this case, we check to see if the Client ID is present in the array.

Big thanks to @OvermindDL1 for the contribution! 🎉

goth - v1.46.0

Published by bentranter about 6 years ago

Adds support for Azure Active Directory V2.0 (thanks @devigned!) 🎉

goth - v1.45.9

Published by bentranter about 6 years ago

Updates the Discord provider to use the correct URL when fetching the user's avatar. Thanks @badgamernl!

goth - v1.45.8

Published by bentranter over 6 years ago

Updates the VK provider to use an int64 instead of an int in the VK user struct. Thanks @snovichkov!

goth - v1.45.7

Published by bentranter over 6 years ago

  • Updates the Instagram provider to use the full name instead of the username for the user.Name field. Thanks @FdeFabricio for the contribution!
goth - v1.45.6

Published by bentranter over 6 years ago

  • Updates the Auth0 provider to use the sub field to populate the User ID. Thanks @sethetter!
goth - v1.45.5

Published by adamo57 over 6 years ago

  • Switches for goth to use crypto/rand instead of math/rand to make goth more (cryptographically) secure. Thanks @bentranter !

  • Now storing values inside of sessions. Thanks @lafriks !

goth - v1.45.4

Published by bentranter over 6 years ago

Release v1.45.4:

  • Provides fixes for the Dropbox provider
  • Exports Gothic's GetFromSession and StoreInSession methods
  • Adds support for Naver thanks to @sunho 🎉