Skip to content

Commit

Permalink
Fixed access token for user info request
Browse files Browse the repository at this point in the history
  • Loading branch information
pkirilin committed Jan 18, 2024
1 parent bf2cc46 commit 0b58ae1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public async Task<GetStatusResult> Handle(GetStatusRequest request, Cancellation
"Token for user {UserEmail} has been successfully refreshed. Trying to get user info...",
userEmail);

var userInfoResult = await oAuthClient.GetUserInfo(accessToken, cancellationToken);
var userInfoResult = await oAuthClient.GetUserInfo(refreshTokenResponse.AccessToken, cancellationToken);

if (userInfoResult is GetUserInfoResult.Error)
{
Expand Down

0 comments on commit 0b58ae1

Please sign in to comment.