dotnet / dotnet/AspNetCore.Docs

YARP: doesn't work for antiforgery tokens

Offen
#33,859 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
aspnet-core/svc Pri3 security/subsvc Source - Docs.ms
Vorherrschende Sprache
C#
Sterne
13.1k
Forks
24.6k
Ø Merge
1 T. 11 Min.
Gemergte PRs (30 T.)
113

Beschreibung

### 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)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Vergleiche aspnetcore/fundamentals/servers/yarp/getting-started.md mit aspnetcore/security/data-protection/compatibility/replacing-machinekey.md und untersuche anschließend das gemeldete Verhalten von Antiforgery-Token zwischen den .NET Framework MVC- und .NET 8 MVC-Apps. Erledigt ist die Aufgabe, wenn die Dokumentation die erforderliche Konfiguration erklärt oder die Interoperabilitätseinschränkung eindeutig angibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.