Closed epdubi closed 3 years ago
Ending the Response by not specifying the Redirect's endResponse
param is working.
HttpContext.Current.Response.Redirect(AuthorizationEndpoint + "?" + parameters.ToNormalizedString());
After some tests, the problem was not related to the "false" passed to the redirect method, was the combination of that parameter plus the following line adding a Flush (the flush was causing to set that content after the headers), so the issue was solved by remobing the flush. The "false" parameter remains, otherwise a ThreadAbort exception is recorded caused by the redirect.
I'm running into the following error when redirecting to the
AuthorizationEndpoint
from AzureClient.cs. Has anyone seen this one before? Any ideas?