Skip to content

YARP: doesn't work for antiforgery tokens #33859

@palmej2

Description

@palmej2

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions