OneDrive / onedrive-sdk-dotnet-msa-auth-adapter

Other
25 stars 22 forks source link

CredentialCache + CredentialVault: Key pair changed after Redeem #44

Open J-Cabeleira opened 7 years ago

J-Cabeleira commented 7 years ago

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.