Monthly Archives: April 2015

ID4022: The key needed to decrypt the encrypted security token could not be resolved

YSOD: ID4022: The key needed to decrypt the encrypted security token could not be resolved. Ensure that the SecurityTokenResolver is populated with the required key In the destination site (not my Identity Server), I made a mistake setting up the … Continue reading

Posted in Errors, Lessons Learned | Tagged | Leave a comment

ID3206: A SignInResponse message may only redirect within the current web application

ID3206: A SignInResponse message may only redirect within the current web application: ‘/’ is not allowed This one happened when I started working with doing redirects. There are two different ways to do redirects in Identity Server. 1) Define it … Continue reading

Posted in Errors, Lessons Learned | Tagged | Leave a comment

I’m logged-in, everything works, but I don’t see the [Administration] link

Identity server really REALLY REALLY wants you to do administration via HTTPS. Just realize, that if you try to circumvent this (for your local development) then the Identity Server will try very hard to convince you that it cannot be … Continue reading

Posted in Errors, Lessons Learned | Tagged | Leave a comment

WIF10201: No valid key mapping found for securityToken (Part 1)

YSOD: WIF10201: No valid key mapping found for securityToken This was the error that just kept on coming back. First solution: I had to pick a key (on my Identity Server) that could be used for signing. Not all keys … Continue reading

Posted in Errors, Lessons Learned | Tagged | Leave a comment

ID1044 An encrypted security token was received at the relying partywhich could not be decrypted

YSOD: ID1044 An encrypted security token was received at the relying party which could not be decrypted. Configure the relying party with a suitable decryption certificate. Current relying party decryption certificate info: This error was happening because I went a … Continue reading

Posted in Errors, Lessons Learned | Tagged | Leave a comment

Change the authenticationmethod claim to be an absolute uri

YSOD: Change the authenticationmethod claim to be an absolute uri This one was just plain silliness on my part. I was overriding the login/authentication mechanism for Identity Server. One of the arguments was the Authentication.Method. Early in my experiments, I … Continue reading

Posted in Errors, Lessons Learned | Tagged | Leave a comment

ID2057: Cannot construct a X509SigningCredentials instance for a certificate without the private key.

YSOD: ID2057: Cannot construct a X509SigningCredentials instance for a certificate without the private key. Parameter name: token Disclaimer: I don’t completely understand the cause of this problem, but I can talk about what I did to resolve it and speculate … Continue reading

Posted in Errors, Lessons Learned | Tagged , , , , | Leave a comment