Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.md | 2024-07-16 | 2.1 kB | |
v0.47.0 source code.tar.gz | 2024-07-16 | 1.6 MB | |
v0.47.0 source code.zip | 2024-07-16 | 1.7 MB | |
Totals: 3 Items | 3.3 MB | 0 |
BREAKING CHANGES: Going forward, please instantiate the HMACSHAStrategy using oauth2.NewHMACSHAStrategy()
:
:::patch
-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 https://github.com/ory/fosite/pull/800
- chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 by @dependabot in https://github.com/ory/fosite/pull/804
- chore(deps-dev): bump braces from 3.0.2 to 3.0.3 by @dependabot in https://github.com/ory/fosite/pull/811
- chore: remove unneeded dependency github.com/ecordell/optgen by @James-REANNZ in https://github.com/ory/fosite/pull/810
- chore(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.4 to 0.7.7 by @dependabot in https://github.com/ory/fosite/pull/812
- chore(deps): bump golang.org/x/net from 0.13.0 to 0.23.0 by @dependabot in https://github.com/ory/fosite/pull/808
- refactor: split HMAC SHA strategy by @aeneasr in https://github.com/ory/fosite/pull/813
- fix: WriteIntrospectionResponse should always issue headers by @mitar in https://github.com/ory/fosite/pull/802
- revert: splitting the HMAC SHA strategy (#813) by @aeneasr in https://github.com/ory/fosite/pull/815
- refactor: improve dependency injection capabilities by @aeneasr in https://github.com/ory/fosite/pull/816
New Contributors
- @James-REANNZ made their first contribution in https://github.com/ory/fosite/pull/810
Full Changelog: https://github.com/ory/fosite/compare/v0.46.1...v0.47.0