Closed alex-swift closed 1 year ago
ah shoot this looks like a typo. nice catch!
to avoid introducing a breaking change in case anyone depends on birthday
, I think we'll need to add birthdate
(of existing type EndUserBirthday
) rather than rename birthday
. I'm not sure when I'll have time to do this, but I would be happy to merge a PR that does this (with test coverage that adds the field to existing tests).
@ramosbugs, please review https://github.com/ramosbugs/openidconnect-rs/pull/120
Thank you for quick response.
OpenID Connect Core defines the list of the standard claims https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims. One of these claims is
birthdate
.StandardClaims
structure supportsbirthday
, but does not supportbirthdate
: @see https://github.com/ramosbugs/openidconnect-rs/blob/1bc4a2f6c741f1c94716c5f4d897b0f3eaa06fbe/src/claims.rs#L107Could you please add support for
birthdate
claim or renamebirthday
bybirthdate
?