Skip to content

Commit

Permalink
fix: add redirect_url in oauth refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
alerdenisov committed Nov 8, 2023
1 parent 773435d commit e4e7b6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/api/src/secrets/secrets.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export class SecretsService {
const body: Record<string, string> = {
grant_type: 'refresh_token',
refresh_token: appConnection.refreshToken,
redirect_uri: this.config.getOrThrow('publicUrl') + '/api/secrets/redirect',
};

const headers: Record<string, string> = {
Expand Down

0 comments on commit e4e7b6c

Please sign in to comment.