Is there a solution available to use HttpSessionState to store the Token ?
I know we can enable session to make the authentication cookie smaller :
FederatedAuthentication.SessionAuthenticationModule.IsSessionMode = true;
From what I understood, with the default implementation, the token is stored in memory. http://www.cloudidentity.com/blog/2010/05/26/YOUR-FEDAUTH-COOKIES-ON-A-DIET-ISSESSIONMODE-TRUE/
The HttpSession is not used even if a custom provider is set.
Thinktecture IdentityModel allows us to use a custom token repository by implementing ITokenCacheRepository
but it requires an external storage, using the session might be bad (expiration, scope...).
Why the default TokenCache uses an in memory solution instead of Host Session provider ? Is there an easy and safe way to use host's session state ?