We are encountering some Oauth implementations in the wild that are returning expires_in as a string rather than an integer on access token requests. I understand the spec is fairly clear about this field being numeric but am wondering if the crate could be flexible here given that this does appear to be a somewhat widespread problem, e.g., https://learn.microsoft.com/en-us/answers/questions/2337020/azure-ad-token-endpoint-returns-expires-in-as-stri
Please let me know if you'd accept any PRs here. Thanks for your help.
We are encountering some Oauth implementations in the wild that are returning
expires_inas a string rather than an integer on access token requests. I understand the spec is fairly clear about this field being numeric but am wondering if the crate could be flexible here given that this does appear to be a somewhat widespread problem, e.g., https://learn.microsoft.com/en-us/answers/questions/2337020/azure-ad-token-endpoint-returns-expires-in-as-striPlease let me know if you'd accept any PRs here. Thanks for your help.