-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to parse updated_at
timestamp from Auth0
#23
Comments
looks like @auth0 isn't following the OIDC spec:
somehow they're a certified OIDC implementation but haven't bothered to follow the spec here, making their product incompatible with strongly-typed clients that do adhere to the spec. that said, I would accept a PR that makes the serde parser also accept ISO 8601 date/time strings behind a non-default feature flag. the |
I tried looking into this and the macros leave me complete stumped on trying to PR what you are asking for |
it's probably easiest to add the logic here: openidconnect-rs/src/macros.rs Lines 428 to 453 in 82aa3c6
|
basically instead of |
I'm working on integrating this library with Auth0 and ran into an issue where the format of their
updated_at
field fails to parse. Their format is"2020-06-16T03:23:10.426Z"
.I changed this type to
String
in theclaims.rs
and it parses successfully.The text was updated successfully, but these errors were encountered: