[Bug] exception when deserialize openid provider configuration in net8.0.100-rc.1 #2352
Closed
2 of 14 tasks
Labels
Bug
Product is not functioning as expected
Customer reported
Indicates issue was opened by customer
Regression
Milestone
Which version of Microsoft.IdentityModel are you using?
using Microsoft.IdentityModel 7.00.2.40929
Where is the issue?
Is this a new or an existing app?
We are developing an app and switched to net8.RC recently. But in net8 the Authorization server metadata couldn't get parsed any longer. Probably because of a upper case letter in the json configuration properties.
Repro
We are using the OpenIdConnect middleware for oauth authentification.
using in conjunction with net7 works fine but using 8.0.100-rc.1.23455.8 fails with the exception appended at the end. Maybe it is problem of the underlying json deserializer.
Our oauth providers , I guess a bit special, configuration 🙄 returns the property
Response_modes_supported
twice. One starts with an upper case "R" which seems to be the problematic character.https://[identity.myurl.com/oauth2/token/.well-known/openid-configuration](https://identity.myurl.com/oauth2/token/.well-known/openid-configuration)
Expected behavior
I expect to be able to use the oauth provider with net8 like in net7.
Our oauth provider is quite reluctant to change anything so I hope it is possible to make net8 at this point compatible to net7
Actual behavior
OpenIdConnectConfigurationSerializer throws an exception when trying to deserialize the oauth provider configuration
Possible solution
Additional context / logs / screenshots / links to code
The text was updated successfully, but these errors were encountered: