-
Notifications
You must be signed in to change notification settings - Fork 412
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
[Bug] OpenIdConnectMessage Improperly Parses expires_in
Field
#2336
Comments
@mgw854 did you mean to write (600 with "): Assert.Equal("600", message.ExpiresIn); |
This bit us as well yesterday when we attempted to upgrade to This case should have been tested, and 7.0.2 never should have been released. Is it possible to delete the release so as to not break anyone else using this dependency? |
@johncrim we will have a fix in the next release. |
Which version of Microsoft.IdentityModel are you using?
Note that to get help, you need to run the latest version.
Microsoft.IdentityModel.Protocols.OpenIdConnect 7.0.0
Where is the issue?
Is this a new or an existing app?
Existing application, upgrading from 5.2.2
Repro
Expected behavior
The test passes successfully
Actual behavior
ExpiresIn
is null, because it doesn't deserialize a number into the string, although this is expected per https://datatracker.ietf.org/doc/html/rfc6749#section-5.1Possible solution
Correct handling of numbers to allow conversion to strings during deserialization
The text was updated successfully, but these errors were encountered: