Blazor-wasm (authentication): add OidcProviderOptions.MetadataAddress property #19877
Labels
area-blazor
Includes: Blazor, Razor Components
Done
This issue has been fixed
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
Milestone
While using
builder.Services.AddOidcAuthentication
(as part ofWebAssemblyAuthenticationServiceCollectionExtensions
), I am not able to specify metadata address of the OIDC provider. The metadata endpoint does not necessarily have to be aligned withOidcProviderOptions.Authority
(typical in dev/test environments, but sometimes also in prod ones).I think we need to add
MetadataAddress
property toOidcProviderOptions
(much like there isMicrosoft.AspNetCore.Authentication.OpenIdConnect.MetadataAddress
in server-side OIDC configuration).Or, am I missing something and it is somehow possible to configure metadata address if OIDC provider?
The text was updated successfully, but these errors were encountered: