Skip to content

Why are some of our grants giving CryptographicException ? #155

Discussion options

You must be logged in to vote

@aaronclawrence this could be caused by misconfigured ASP.NET Core Data Protection.

Can you check the docs at https://docs.duendesoftware.com/identityserver/deployment#aspnet-core-data-protection, and verify a couple of things?

  • Data protection keys are shared for all nodes of your deployment (if you have multiple servers)
  • An application name is set (we'd recommend to set it to be the same as the default used when not configured, which is the application content root - this also has to match on all nodes)
  • If keys are separate on different nodes, you can copy the key material to a shared location like blob storage or the database, and use that on all nodes

You could also try to decrypt th…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@aaronclawrence
Comment options

@aaronclawrence
Comment options

@maartenba
Comment options

@aaronclawrence
Comment options

@maartenba
Comment options

Answer selected by aaronclawrence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants