Replies: 1 comment
-
I've been able to set it using JavaScript. window.AuthenticationService.instance._userManager._settings._acr_values = `tenant:contoso`; I think you can do it in your builder.Services.AddOidcAuthentication(options =>
{
builder.Configuration.Bind("Local", options.ProviderOptions);
options.ProviderOptions.ResponseType = "code";
options.ProviderOptions.AdditionalProviderParameters.Add("acr_values", "tenant:contoso");
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Blazor WebAssembly app where I need to authenticate with an existing, external Identity Server. I'm following the documentation here utilizing the
AddOidcAuthentication
middleware. When the request is made to the identity server, I need to pass acr_values. The specific use case I have for acr_values is that I need to pass the tenant - this is a multi-tenant application where the user must login to particular tenant.I am not seeing any properties I can configure on the
OidcProviderOptions
for acr_values.Is there a way to do this I'm not seeing, or is this feature simply not supported?
Thanks.
cc: @guardrex who suggested I raise the issue here.
Beta Was this translation helpful? Give feedback.
All reactions