mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-28 12:35:02 +02:00
UBER-1290: Fix refresh token in subsequent requests (#9550)
Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
@@ -38,6 +38,7 @@ export class AuthProvider {
|
||||
}
|
||||
const authUrl = this.oAuth2Client.generateAuthUrl({
|
||||
access_type: 'offline',
|
||||
prompt: 'consent',
|
||||
scope: ['https://www.googleapis.com/auth/gmail.modify'],
|
||||
state: Buffer.from(JSON.stringify({ workspace, userId, redirectURL })).toString('base64')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user