Skip to content

Releases: zitadel/oidc

v3.1.1

24 Oct 15:09
73a1982
Compare
Choose a tag to compare

3.1.1 (2023-10-24)

Bug Fixes

  • build callback url from server, not op (#468) (e5f0dca)
  • server: do not get client by id for introspection (#467) (73a1982)

v3.1.0

24 Oct 07:23
bab5399
Compare
Choose a tag to compare

3.1.0 (2023-10-24)

Features

v3.0.3

24 Oct 07:18
164c5b2
Compare
Choose a tag to compare

3.0.3 (2023-10-24)

Bug Fixes

  • op: terminate session from request in legacy server (#465) (164c5b2)

v3.0.2

16 Oct 09:34
434b2e6
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.1...v3.0.2

v3.0.1

13 Oct 12:18
0dc2a6e
Compare
Choose a tag to compare

3.0.1 (2023-10-13)

Bug Fixes

  • op: return state in token response only for implicit flow (#460) (0dc2a6e)

v3.0.0

13 Oct 05:46
976b406
Compare
Choose a tag to compare

3.0.0 (2023-10-13)

Bug Fixes

chore

Features

BREAKING CHANGES

    • Just making sure v3 release is triggered.
  • rp: - rename RefreshAccessToken to RefreshToken
  • RefreshToken returns *oidc.Tokens instead of *oauth2.Token

This change allows the return of the id_token in an explicit manner,
as part of the oidc.Tokens struct.
The return type is now consistent with the CodeExchange function.

When an id_token is returned, it is verified.
In case no id_token was received,
RefreshTokens will not return an error.

As per specifictation:
https://openid.net/specs/openid-connect-core-1_0.html#RefreshTokenResponse

Upon successful validation of the Refresh Token,
the response body is the Token Response of Section 3.1.3.3
except that it might not contain an id_token.

  • rp.Userinfo and rs.Introspect now require
    a type parameter.
    • The various verifier types are merged into a oidc.Verifir.
  • oidc.Verfier became a struct with exported fields
  • use type aliases for oidc.Verifier

this binds the correct contstructor to each verifier usecase.

  • fix: handle the zero cases for oidc.Time

  • add unit tests to oidc verifier

  • fix: correct returned field for JWTTokenRequest

JWTTokenRequest.GetIssuedAt() was returning the ExpiresAt field.
This change corrects that by returning IssuedAt instead.

  • The returned router from op.CreateRouter() is now a chi.Router

v1.13.5

13 Oct 05:48
55acd00
Compare
Choose a tag to compare

1.13.5 (2023-10-13)

Bug Fixes

v3.0.0-next.11

28 Sep 14:32
0f8a058
Compare
Choose a tag to compare
v3.0.0-next.11 Pre-release
Pre-release

3.0.0-next.11 (2023-09-28)

Features

v2.11.0

07 Sep 12:27
364a759
Compare
Choose a tag to compare

2.11.0 (2023-09-07)

Features

v2.10.0

01 Sep 08:55
1683b31
Compare
Choose a tag to compare

2.10.0 (2023-09-01)

Features

  • op: add opentelemetry to token endpoint (#436) (1683b31)