dotnet / dotnet/AspNetCore.Docs

YARP: doesn't work for antiforgery tokens

Open
#33,859 1 comment 0 reactions 0 assignees View on GitHub
aspnet-core/svc Pri3 security/subsvc Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

### Description

I am using yarp, with .net framework mvc app and .net core 8 mvc app. The antiforgery tokens do not pass between the two apps. I thought this would fix it since it mentions the viewstate is fixed?

### Page URL

https://learn.microsoft.com/en-us/aspnet/core/security/data-protection/compatibility/replacing-machinekey?view=aspnetcore-8.0

### Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/yarp/getting-started?view=aspnetcore-9.0

### Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/servers/yarp/getting-started.md

### Document ID

75f2623e-0c7d-3392-9b37-7a2d86163591

### Article author

@samsp-msft

### Metadata

* ID: 75f2623e-0c7d-3392-9b37-7a2d86163591
* Service: **aspnet-core**
* Sub-service: **fundamentals**

### Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/security/data-protection/compatibility/replacing-machinekey.md

### Document ID

53e91296-c75c-b446-1487-6710b024ad60

### Article author

@Rick-Anderson

[Related Issues](https://github.com/dotnet/AspNetCore.Docs/issues?q=is%3Aissue+is%3Aopen+53e91296-c75c-b446-1487-6710b024ad60)

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.