Skip to content

Commit

Permalink
fix: refresh token payload for github
Browse files Browse the repository at this point in the history
  • Loading branch information
aaa006bd committed Aug 15, 2023
1 parent 3a25608 commit 59b7cea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/forges/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export class Github implements Forge {
throw new Error('Error getting access token');
}


return {
accessToken: response.access_token,
refreshToken: response.refresh_token,
Expand All @@ -72,6 +73,7 @@ export class Github implements Forge {
body: {
client_id: this.clientId,
client_secret: this.clientSecret,
grant_type: 'refresh_token',
refresh_token: refreshToken,
},
});
Expand Down

0 comments on commit 59b7cea

Please sign in to comment.