dotnet / dotnet/systemweb-adapters
Enable HttpResponse.SuppressFormsAuthenticationRedirect
- Dominant language
- C#
- Stars
- 384
- Forks
- 76
- Avg merge
- 2h 24m
- Merged PRs (30d)
- 1
Description
## Summary
From the docs:
> ///
> /// By default, the FormsAuthenticationModule hooks EndRequest and converts HTTP 401 status codes to
> /// HTTP 302, redirecting to the login page. This isn't appropriate for certain classes of errors,
> /// e.g. where authentication succeeded but authorization failed, or where the current request is
> /// an AJAX or web service request. This property provides a way to suppress the redirect behavior
> /// and send the original status code to the client.
> ///
## In scope
- `System.Web.HttpResponse.SuppressFormsAuthenticationRedirect `
Contributor guide
Assessment
This issue has not been assessed yet.