From e4e7b6c266a68c93990d7ca9d3bc8ec29604339a Mon Sep 17 00:00:00 2001 From: Aler Denisov Date: Wed, 8 Nov 2023 08:11:27 +0100 Subject: [PATCH] fix: add redirect_url in oauth refresh --- apps/api/src/secrets/secrets.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/src/secrets/secrets.service.ts b/apps/api/src/secrets/secrets.service.ts index 2f2e034..ea35159 100644 --- a/apps/api/src/secrets/secrets.service.ts +++ b/apps/api/src/secrets/secrets.service.ts @@ -26,6 +26,7 @@ export class SecretsService { const body: Record = { grant_type: 'refresh_token', refresh_token: appConnection.refreshToken, + redirect_uri: this.config.getOrThrow('publicUrl') + '/api/secrets/redirect', }; const headers: Record = {