Bump github.com/ory/fosite from 0.46.1 to 0.47.0
Bumps github.com/ory/fosite from 0.46.1 to 0.47.0.
Release notes
Sourced from github.com/ory/fosite's releases.
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 ory/fosite#800- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 by
@dependabot
in ory/fosite#804- chore(deps-dev): bump braces from 3.0.2 to 3.0.3 by
@dependabot
in ory/fosite#811- chore: remove unneeded dependency github.com/ecordell/optgen by
@James-REANNZ
in ory/fosite#810- chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.4 to 0.7.7 by
@dependabot
in ory/fosite#812- chore(deps): bump golang.org/x/net from 0.13.0 to 0.23.0 by
@dependabot
in ory/fosite#808- refactor: split HMAC SHA strategy by
@aeneasr
in ory/fosite#813- fix: WriteIntrospectionResponse should always issue headers by
@mitar
in ory/fosite#802- revert: splitting the HMAC SHA strategy (#813) by
@aeneasr
in ory/fosite#815- refactor: improve dependency injection capabilities by
@aeneasr
in ory/fosite#816New Contributors
@James-REANNZ
made their first contribution in ory/fosite#810Full Changelog: https://github.com/ory/fosite/compare/v0.46.1...v0.47.0
Commits
-
3ec8db8
refactor: improve dependency injection capabilities (#816) -
27de382
revert: splitting the HMAC SHA strategy (#813) (#815) -
e00e96d
fix: always issue headers in WriteIntrospectionResponse (#802) -
576230a
refactor: split HMAC SHA strategy (#813) -
886248b
chore(deps): bump golang.org/x/net from 0.13.0 to 0.23.0 (#808) -
8b7a470
chore(deps): bump github.com/hashicorp/go-retryablehttp (#812) -
7f362db
chore: remove unneeded dependency github.com/ecordell/optgen (#810) -
bdcae1b
chore(deps-dev): bump braces from 3.0.2 to 3.0.3 (#811) -
1e7c582
chore: update repository templates to https://github.com/ory/meta/commit/e838... -
5e039ca
chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#804) - Additional commits viewable in compare view