mirror of
https://github.com/moghtech/komodo.git
synced 2026-03-22 06:11:11 -05:00
OIDC against Auth0 support #580
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @romancin on GitHub (Sep 17, 2025).
Hi! I am trying to enable OIDC with Auth0. It enables fine after configuring it with the parameters said in the docs, and Komodo starts successfully:
I can login correctly into Auth0, but after that, I have an error:
It seems that Auth0 returns updated_at as string, not a timestamp, and it seems other tools that implement the same library for OIDC had the same problem :
https://github.com/Timshel/vaultwarden/issues/74
Could it be fixed too in Komodo?
Thank you very much!
@mbecker20 commented on GitHub (Sep 17, 2025):
Thanks for pointing this out, the issue seems to be in the upstream OIDC library
openidconnect, specifically here:b639b5d39e/src/claims.rs (L87)@romancin commented on GitHub (Sep 18, 2025):
I think the OIDC specification takes that parameter as timestamp, so I think the library is fine, as it is compliant against the official one. The problems seems to be that Auth0 defined it as a String because it was developed before the OIDC spec was GA.
@romancin commented on GitHub (Sep 18, 2025):
It seems the library fixed this issue: https://github.com/ramosbugs/openidconnect-rs/issues/136#issuecomment-3042211814
https://github.com/search?q=repo%3Aramosbugs%2Fopenidconnect-rs%20accept-rfc3339-timestamps&type=code
But I don't know how to use this :(
@romancin commented on GitHub (Sep 19, 2025):
If it helps to anyone, I solved it from Auth0 side, using a Custom post-login action that overwrites update_at. Really awful thing, but it works: