Skip to content

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

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

Closed
vstribrny opened this issue Mar 16, 2020 · 2 comments
Closed
Assignees
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

Comments

@vstribrny
Copy link

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?

@blowdart blowdart added the area-blazor Includes: Blazor, Razor Components label Mar 16, 2020
@javiercn javiercn added the enhancement This issue represents an ask for new feature or an enhancement to an existing one label Mar 16, 2020
@javiercn
Copy link
Member

@vstribrny thanks for contacting us.

Is there any specific provider you are running into issues with?

@mkArtakMSFT mkArtakMSFT added the Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. label Mar 16, 2020
@mkArtakMSFT mkArtakMSFT removed the Needs: Author Feedback The author of this issue needs to respond in order for us to continue investigating this issue. label Mar 16, 2020
@vstribrny
Copy link
Author

The OIDC provider is IdentityServer, our custom implementation.

@javiercn javiercn added Done This issue has been fixed and removed Working labels Mar 26, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
Development

No branches or pull requests

4 participants