I have to redirect user to external identity provider while user is not authenticated, but I must do it with parameters sent as application/x-www-form-urlencoded. How can I do it? This is my current code of AuthenticationHandler:
protected override async Task<AuthenticateResult> HandleRemoteAuthenticateAsync() { Response.ContentType = "application/x-www-form-urlencoded"; Response.Redirect($"{Options.Authority}/authorization"); }