We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently it is
builder.Services.AddOidcAuthentication(options => { builder.Configuration.Bind("AuthServer", options.ProviderOptions); options.ProviderOptions.DefaultScopes.Add("MyProjectName"); });
It should be
builder.Services.AddOidcAuthentication(options => { builder.Configuration.Bind("AuthServer", options.ProviderOptions); options.UserOptions.RoleClaim = JwtClaimTypes.Role; options.ProviderOptions.DefaultScopes.Add("MyProjectName"); options.ProviderOptions.DefaultScopes.Add("role"); options.ProviderOptions.DefaultScopes.Add("email"); options.ProviderOptions.DefaultScopes.Add("phone"); });
Otherwise, we can't get the necessary claims from the Blazor app.
The text was updated successfully, but these errors were encountered:
#5913 Should Configure ProviderOptions on the Blazor UI startup project
2d7f724
hikalkan
No branches or pull requests
Currently it is
It should be
Otherwise, we can't get the necessary claims from the Blazor app.
The text was updated successfully, but these errors were encountered: