From a6e5a95c16ffdcd93bda781c790d8b5d3082c2fe Mon Sep 17 00:00:00 2001 From: Ryan Hanchett Date: Fri, 24 Sep 2021 20:28:28 -0700 Subject: [PATCH] fix: pass updated refresh token to oauth2 adapter Signed-off-by: Ryan Hanchett --- plugins/auth-backend/src/providers/oauth2/provider.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/auth-backend/src/providers/oauth2/provider.ts b/plugins/auth-backend/src/providers/oauth2/provider.ts index 36e2f6ed99..cf70580664 100644 --- a/plugins/auth-backend/src/providers/oauth2/provider.ts +++ b/plugins/auth-backend/src/providers/oauth2/provider.ts @@ -166,6 +166,7 @@ export class OAuth2AuthProvider implements OAuthHandlers { accessToken: result.accessToken, scope: result.params.scope, expiresInSeconds: result.params.expires_in, + refreshToken: result.refreshToken, }, profile, };