Skip to content

Releases: ory/fosite

v0.19.2

19 May 14:21
e9339d7
Compare
Choose a tag to compare
openid: Resolves timing issues by setting now to the future (#270)

v0.19.1

19 May 13:59
eee3dad
Compare
Choose a tag to compare
openid: Improves validation errors and uses UTC everywhere (#269)

v0.19.0: openid: Improves prompt, max_age and id_token_hint validation (#268)

17 May 15:36
7ccad77
Compare
Choose a tag to compare
This patch improves the OIDC prompt, max_age, and id_token_hint
validation.

v0.18.1: openid: Adds a validator used to validate OIDC parameters (#266)

01 May 10:04
91c9d19
Compare
Choose a tag to compare
The validator, for now, validates the prompt parameter of OIDC requests.

v0.18.0: oauth2: Introspection should return token type (#265)

30 Apr 09:59
2bf9b6c
Compare
Choose a tag to compare
Closes #264

This patch allows the introspection handler to return the token type (e.g. `access_token`, `refresh_token`) of the
introspected token. To achieve that, some breaking API changes have been introduced:

* `OAuth2.IntrospectToken(ctx context.Context, token string, tokenType TokenType, session Session, scope ...string) (AccessRequester, error)` is now `OAuth2.IntrospectToken(ctx context.Context, token string, tokenType TokenType, session Session, scope ...string) (TokenType, AccessRequester, error)`.
* `TokenIntrospector.IntrospectToken(ctx context.Context, token string, tokenType TokenType, accessRequest AccessRequester, scopes []string) (error)` is now `TokenIntrospector.IntrospectToken(ctx context.Context, token string, tokenType TokenType, accessRequest AccessRequester, scopes []string) (TokenType, error)`.

This patch also resolves a misconfigured json key in the `IntrospectionResponse` struct. `AccessRequester AccessRequester json:",extra"` is now properly declared as `AccessRequester AccessRequester json:"extra"`.

0.17.2

26 Apr 07:15
Compare
Choose a tag to compare
core: Regression fix for request ID in refresh token flow (#262)

Signed-off-by: Beorn Facchini <[email protected]>

0.17.1

22 Apr 12:58
0fcdf33
Compare
Choose a tag to compare
core: Adds ExactScopeStrategy (#260)

The ExactScopeStrategy performs a simple string match (case sensitive)
of scopes.

v0.17.0

08 Apr 13:35
018b5c1
Compare
Choose a tag to compare
core: Sanitizes request body before sending it to the storage adapter…

0.16.5

17 Mar 12:40
338399b
Compare
Choose a tag to compare
v0.16.5

introspection: Improves debug messages (#254)

0.16.4

07 Feb 10:02
4512853
Compare
Choose a tag to compare
handler: Adds PKCE implementation for none and S256 (#246)

This patch adds support for PKCE (https://tools.ietf.org/html/rfc7636) which is used by native apps (mobile) and prevents eavesdropping attacks against authorization codes.

PKCE is enabled by default but not enforced. Challenge method plain is disabled by default. Both settings can be changed using `compose.Config.EnforcePKCE` and `compose.config.EnablePKCEPlainChallengeMethod`.

Closes #213