Skip to content

Blazor-wasm (authentication): add OidcProviderOptions.MetadataAddress property #19877

Closed
@vstribrny

Description

@vstribrny

While using builder.Services.AddOidcAuthentication (as part of WebAssemblyAuthenticationServiceCollectionExtensions), I am not able to specify metadata address of the OIDC provider. The metadata endpoint does not necessarily have to be aligned with OidcProviderOptions.Authority (typical in dev/test environments, but sometimes also in prod ones).

I think we need to add MetadataAddress property to OidcProviderOptions (much like there is Microsoft.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?

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing one

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions