You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/migration/fx-to-core/areas/authentication.md
+1-31Lines changed: 1 addition & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ monikerRange: '>= aspnetcore-6.0'
7
7
ms.date: 11/9/2022
8
8
ms.topic: article
9
9
uid: migration/fx-to-core/areas/authentication
10
+
zone_pivot_groups: migration-remote-app-setup
10
11
---
11
12
12
13
# Migrate ASP.NET Framework Authentication to ASP.NET Core
@@ -220,37 +221,6 @@ public class HomeController : Controller
220
221
}
221
222
```
222
223
223
-
#### Advanced Configuration Options
224
-
225
-
In addition to the require boolean, an optional callback may be passed to `AddAuthenticationClient` to modify some other aspects of the remote authentication process's behavior:
226
-
227
-
*`RequestHeadersToForward`: This property contains headers that should be forwarded from a request when calling the authenticate API. By default, the only headers forwarded are `Authorization` and `Cookie`. Additional headers can be forwarded by adding them to this list. Alternatively, if the list is cleared (so that no headers are specified), then all headers will be forwarded. that no headers are specified), then all headers will be forwarded.
228
-
*`ResponseHeadersToForward`: This property lists response headers that should be propagated back from the authenticate request to the original call that prompted authentication in scenarios where identity is challenged. By default, this includes `Location`, `Set-Cookie`, and `WWW-Authenticate` headers.
229
-
*`AuthenticationEndpointPath`: The endpoint on the ASP.NET app where authenticate requests should be made. This defaults to `/systemweb-adapters/authenticate` and must match the endpoint specified in the ASP.NET authentication endpoint configuration.
0 commit comments