Skip to content

Commit

Permalink
fix acr_value
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-jmattson committed May 9, 2024
1 parent 465cf49 commit 40cca47
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/IdentityServer/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,7 @@ public void ConfigureServices(IServiceCollection services)
}
config.Events.OnRedirectToIdentityProvider = (context) =>
{
if (!string.IsNullOrWhiteSpace(oidc.AcrValues))
context.ProtocolMessage.RedirectUri += $"&acr_values={oidc.AcrValues}";
// context.Response.Redirect(context.RedirectUri);
context.ProtocolMessage.AcrValues = oidc.AcrValues;
return Task.CompletedTask;
};
});
Expand Down

0 comments on commit 40cca47

Please sign in to comment.