Skip to content

Tags: ory/fosite

Tags

v0.49.0

Toggle v0.49.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): bump golang.org/x/crypto from 0.23.0 to 0.31.0 (#839)

Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.23.0 to 0.31.0.
- [Commits](golang/crypto@v0.23.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

v0.48.0

Toggle v0.48.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: make serialization error wrappable (#837)

See ory-corp/cloud#7311

v0.47.0

Toggle v0.47.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
refactor: improve dependency injection capabilities (#816)

This PR addresses improvements to the OAuth2 package, making it easier to inject custom strategies. As part of this change, the HMAC strategy has been split into a prefixed and unprefixed strategy. Due to this, the instantiation of `HMACSHAStrategy` has changed.

This patch addresses improvements over #813 which has been reverted and fixed here.

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,
+	},
+)
```

v0.46.1

Toggle v0.46.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: use stdlib to check loopback address (#795)

v0.46.0

Toggle v0.46.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix: properly propagate request ID (#756)

v0.45.0

Toggle v0.45.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: quick start secret config (#781)

v0.44.0

Toggle v0.44.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
refactor: allow secret configuration to return errors (#726)

BREAKING CHANGE: `GetGlobalSecret` and `GetRotatedGlobalSecrets` signatures changed and it is now possible to add an error.

v0.43.0

Toggle v0.43.0's commit message
chore: update repository templates to ory/meta@23d918a

v0.42.2

Toggle v0.42.2's commit message
autogen(docs): regenerate and update changelog

v0.42.1

Toggle v0.42.1's commit message
autogen(docs): regenerate and update changelog