-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Error when serializing InteractiveRequestOptionsSerializerContext #52291
Comments
Could be related to #51870 |
Thanks for contacting us. We're moving this issue to the |
@thomasback-dk Can you show your If you cannot add each key individually, one workaround might be to serialize the Changing your The fact that aspnetcore/src/Identity/Core/src/IdentityEndpointsJsonOptionsSetup.cs Lines 10 to 17 in 3e168fe
|
Here is my approach calling
Here is how I construct
It´s not possible to add each item individually in terms of OIDC specifications. Above worked nicely in .NET 7 and stopped working when upgrading to .NET 8. For now it´s working using the following workaround (mentioned here: #45028): Blazor project's .csproj
Content of TrimmerRootDescriptor.xml
|
My setup is slightly different:
But the result is the same. This code works in debug mode, but in published release mode the |
A maybe more severe effect of this issue is that |
#54225 probably fixes this when backported to 8.0 |
Is there an existing issue for this?
Describe the bug
After upgrading to .NET 8 I get an error when calling
NavigationManager.NavigateToLogin
using the constructor with parameter type InteractiveRequestOptions as second parameter, where InteractiveRequestOptions include a key named extraQueryParams and with a Dictionary<string, string> as value (using TryAddAdditionalParameter within InteractiveRequestOptions).Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
.NET Version
8.0.100
Anything else?
No response
The text was updated successfully, but these errors were encountered: