Notable changes between releases.
- Update Go module dependencies
- Add a
Picture
field to the facebookUser
struct (#150)
- Add
SameSite
field to the oauth2 stateCookieConfig
(#112)- Set
SameSiteLaxMode
inDefaultCookieConfig
andDebugOnlyCookieConfig
- Set
- Raise the
MaxAge
inDefaultCookieConfig
andDebugOnlyCookieConfig
- Allow 10 min for users to complete the authorization flow
- Update examples to show sessions with typed values (#123)
- Update minimum Go version from v1.17 to v1.18 (#116)
- Upgrade github.com/google/go-github from non-module version to v48.1.0
- Update google.golang.org/api, sling, oauth1, and test dependencies (dependabot)
- Update
google.golang.org/api
to v0.22.0 (#40)- Google API renamed
Userinfoplus
toUserinfo
- Google API renamed
- Suffix packages with
/v2
to provide Go module support (#37)- Module users may import
github.com/dghubble/gologin/v2
starting in v2.2.0 - Non-module users may continue using releases prior to v2.2.0
- Module users may import
- Add
EnterpriseCallbackHandler
for GitHub Enterprise (#33) - Add email address to Facebook Users (0acc88)
- Update Facebook API version to v2.9 (0acc88)
- Fix facebook
CallbackHandler
to pass Facebook errors (#31) - Fix GitHub Users.Get call to accomodate a
go-github
change (#18) - Remove deprecated
digits
subpackage (#29)
- Support for Go 1.7+ standard
context
- Change
gologin
handlers to be standardhttp.Handler
's - Drop requirement for
ctxh.NewHandler
wrapper - Drop dependency on
github.com/dghubble/ctxh
shim
- Update
golang.org/x/net/context
imports tocontext
- Change any
ctxh.ContextHandler
to ahttp.Handler
. Thectx
is passed via the request so the argument is no longer needed. - Remove any
ctxh.NewHandler(...)
wrap.gologin
handlers are now standardhttp.Handler
's, conversion is no longer required. - Use
req.Context()
to obtain the request context within handlers. - See updated examples
- Use base64.RawURLEncoding for StateHandler's state (#14)
- Fix OAuth1 failure handler's error passing (#13)
- Improve test automation. Validate with Go 1.6 and 1.7.
- Official release using the
ContextHandler
- Support for all OAuth1 and Oauth2 providers
- Convenience handlers for Google, GitHub, Facebook, Bitbucket, Twitter, Digits, and Tumblr
- Token login handlers for Twitter and Digits
- Initial proof of concept
- Web login handlers for Google, GitHub, Facebook, Bitbucket, Twitter, Digits, and Tumblr
- Token login handlers for Twitter and Digits
- Support for OAuth1 and OAuth2