dotnet / dotnet/systemweb-adapters

Enable HttpResponse.SuppressFormsAuthenticationRedirect

Open
#154 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.