mirror of
https://github.com/zitadel/oidc.git
synced 2026-01-11 13:53:01 -06:00
Certain providers, for example Entra ID, return durations as quoted strings instead of JSON numbers. This is a deviation from the standard. This change allows for the successful parsing of such quoted duration strings. BREAKING CHANGE: The `expires_in field` has changed from type `int64` to `oidc.Duration` for various token response payloads. fixes https://github.com/zitadel/oidc/issues/815 ### Definition of Ready - [x] I am happy with the code - [x] Short description of the feature/issue is added in the pr description - [x] PR is linked to the corresponding user story - [x] Acceptance criteria are met - [x] All open todos and follow ups are defined in a new ticket and justified - [ ] Deviations from the acceptance criteria and design are agreed with the PO and documented. - [x] No debug or dead code - [x] My code has no repetitions - [x] Critical parts are tested automatically - [ ] Where possible E2E tests are implemented - [ ] Documentation/examples are up-to-date - [ ] All non-functional requirements are met - [ ] Functionality of the acceptance criteria is checked manually on the dev system.