zitadel-oidc/pkg
Tim Möhlmann d01a5c8f91
fix: don't error on invalid i18n tags in discovery (#407)
* reproduce #406

* fix: don't error on invalid i18n tags in discovery

This changes the use of `[]language.Tag` to
`oidc.Locales` in `DiscoveryConfig`.
This should be compatible with callers that use
the `[]language.Tag` .

Locales now implements the `json.Unmarshaler` interface.
With support for json arrays or space seperated strings.
The latter because `UnmarshalText` might have been implicetely called
by the json library before we added UnmarshalJSON.

Fixes: #406
2023-06-09 16:31:44 +02:00
..
client fix: don't error on invalid i18n tags in discovery (#407) 2023-06-09 16:31:44 +02:00
crypto chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
http chore: switch from iouitil to io.ReadAll (#272) 2023-02-06 08:29:25 +01:00
oidc fix: don't error on invalid i18n tags in discovery (#407) 2023-06-09 16:31:44 +02:00
op fix: enforce device authorization grant type (#400) 2023-05-26 10:52:35 +02:00
strings feat: Token Revocation, Request Object and OP Certification (#130) 2021-11-02 13:21:35 +01:00