v0.47.0
BREAKING CHANGES: Going forward, please instantiate the HMACSHAStrategy using oauth2.NewHMACSHAStrategy()
:
-var hmacshaStrategy = oauth2.HMACSHAStrategy{
- Enigma: &hmac.HMACStrategy{Config: &fosite.Config{GlobalSecret: []byte("foobarfoobarfoobarfoobarfoobarfoobarfoobarfoobar")}},
- Config: &fosite.Config{
- AccessTokenLifespan: time.Hour * 24,
- AuthorizeCodeLifespan: time.Hour * 24,
- },
-}
+var hmacshaStrategy = oauth2.NewHMACSHAStrategy(
+ &hmac.HMACStrategy{Config: &fosite.Config{GlobalSecret: []byte("foobarfoobarfoobarfoobarfoobarfoobarfoobarfoobar")}},
+ &fosite.Config{
+ AccessTokenLifespan: time.Hour * 24,
+ AuthorizeCodeLifespan: time.Hour * 24,
+ },
+)
What's Changed
- chore(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.3 by @dependabot in #800
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 by @dependabot in #804
- chore(deps-dev): bump braces from 3.0.2 to 3.0.3 by @dependabot in #811
- chore: remove unneeded dependency github.com/ecordell/optgen by @James-REANNZ in #810
- chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.4 to 0.7.7 by @dependabot in #812
- chore(deps): bump golang.org/x/net from 0.13.0 to 0.23.0 by @dependabot in #808
- refactor: split HMAC SHA strategy by @aeneasr in #813
- fix: WriteIntrospectionResponse should always issue headers by @mitar in #802
- revert: splitting the HMAC SHA strategy (#813) by @aeneasr in #815
- refactor: improve dependency injection capabilities by @aeneasr in #816
New Contributors
- @James-REANNZ made their first contribution in #810
Full Changelog: v0.46.1...v0.47.0