zitadel-oidc/pkg
Tim Möhlmann dce79a73fb
fix(oidc): ignore unknown language tag in userinfo unmarshal (#505)
* fix(oidc): ignore unknown language tag in userinfo unmarshal

Open system reported an issue where a generic OpenID provider might return language tags like "gb".
These tags are well-formed but unknown and Go returns an error for it.
We already ignored unknown tags is ui_locale arrays lik in AuthRequest.

This change ignores singular unknown tags, like used in the userinfo `locale` claim.

* do not set nil to Locale field
2023-12-22 10:25:58 +01:00
..
client feat(rp): client credentials grant (#494) 2023-12-05 06:40:16 +01:00
crypto fix(crypto): nil pointer dereference in crypto.BytesToPrivateKey (#491) (#493) 2023-12-05 17:15:59 +02:00
http Merge branch 'next' into next-main 2023-10-12 16:07:49 +03:00
oidc fix(oidc): ignore unknown language tag in userinfo unmarshal (#505) 2023-12-22 10:25:58 +01:00
op feat(op): ID token for device authorization grant (#500) 2023-12-18 08:39:39 +01:00
strings feat: Token Revocation, Request Object and OP Certification (#130) 2021-11-02 13:21:35 +01:00