We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ede8541 + 7f34d7d commit 9b72f26Copy full SHA for 9b72f26
1 file changed
src/shared/Core/GenericHostProvider.cs
@@ -161,7 +161,7 @@ private async Task<ICredential> GetOAuthAccessToken(Uri remoteUri, string userNa
161
// Store new refresh token if we have been given one
162
if (!string.IsNullOrWhiteSpace(refreshResult.RefreshToken))
163
{
164
- Context.CredentialStore.AddOrUpdate(refreshService, refreshToken.Account, refreshToken.Password);
+ Context.CredentialStore.AddOrUpdate(refreshService, refreshToken.Account, refreshResult.RefreshToken);
165
}
166
167
// Return the new access token
0 commit comments