Skip to content

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

New Contributors

Full Changelog: https://github.com/ory/fosite/compare/v0.46.1...v0.47.0

Commits

Merge request reports

Loading