Skip to content

Localhost - The antiforgery token could not be decrypted. #28016

@juanan

Description

@juanan

I noticed that after always restarting my local web server, only the first time I access to my account controller login view I get the error:

An exception was thrown while deserializing the token.

The antiforgery token could not be decrypted.
The key {xxx} was not found in the key ring.

how can avoid this pls?

My project is asp.net core 3.1

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