none
“Token cache entry missing” - Claims Authentication RRS feed

  • Question

  • We are working our way through hooking up our internal STS provider for SharePoint 2010 Claims Based Authentication.  We’ve worked through most of the big issues, but now are hung up on when our Custom STS provider sends a request back to SharePoint, SharePoint seems to accept the authentication, issue a new token with claims, but then throw an exception saying “Token cache entry missing” along with some type of GUID value (debug output in SharePoint logs is the first example below).  The user experience in the browser is that we're redirected back to the log-in page.

     

    The SharePoint log output seems to mirror Windows Authentication (second example below), but after Windows Authentication issues the claims, we’re redirected successfully and are able to use the site.

     

    Does anyone have insight into the error “Token cache entry missing”?  Just to verify we didn’t have an erroneous token in the cache, we did restart IIS, but without any change in behavior.

    #Custom STS Auth

    Access Denied: Authentication is required.         

    Redirecting to https://mysite/SAML1/sso/SAML1Service?wa=wsignin1.0&wtrealm=blablabla

    Issuing new security token.        

    Authenticated with login provider. Validating request security token.    

    Token issued with '8' claims        

    Token cache entry missing.         8714545fd-460d-4348-b777-98dasdfasdfsa9823d

     

    #Windows Auth

    Access Denied: Authentication is required.         

    Issuing new security token.        

    Authenticated with login provider. Validating request security token.    

    Token issued with '30' claims     

    Successfully authenticated, redirecting to /_layouts/Authenticate.aspx?Source=%2F.    d4asdfasd4e-b409-4ad8-8df8b-2dasdfasdd5d3b0


    Mac http://team-foundation-server.blogspot.com
    Thursday, November 10, 2011 2:57 PM

All replies