After Redeem, the Key pair: "ClientId+UserId" (returned) is diferent from the initial requested (ApiKey+UserLocal)! The credentialCache.cacheDictionary that is sented to Vault does no longer match in the next time is needed. As an workaround I intercept and changed the Key pair, so that is reconizeded by the the CredentialCache code next time. PS: I using the auth on an Web App with IWebAuthenticationUi.
After Redeem, the Key pair: "ClientId+UserId" (returned) is diferent from the initial requested (ApiKey+UserLocal)! The credentialCache.cacheDictionary that is sented to Vault does no longer match in the next time is needed. As an workaround I intercept and changed the Key pair, so that is reconizeded by the the CredentialCache code next time. PS: I using the auth on an Web App with IWebAuthenticationUi.