Skip to content

Commit

Permalink
Fix for Refresh token flow
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStorhaug committed Sep 21, 2023
1 parent 53f09aa commit 5aed22a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

do {
if ($Refresh) {
$tokenResponse = Wait-GitHubToken -ClientID $script:ClientID
$tokenResponse = Wait-GitHubToken -ClientID $script:ClientID -Refresh
} else {
$deviceCodeResponse = Request-GitHubDeviceCode -ClientID $ClientID -Scope $Scope

Expand Down

0 comments on commit 5aed22a

Please sign in to comment.