mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
test(Gmail Node): Add test coverage (no-changelog) (#12278)
This commit is contained in:
@@ -125,6 +125,25 @@ BQIDAQAB
|
||||
accessToken: 'testToken',
|
||||
baseUrl: 'https://api.telegram.org',
|
||||
},
|
||||
gmailOAuth2: {
|
||||
grantType: 'authorizationCode',
|
||||
authUrl: 'https://accounts.google.com/o/oauth2/v2/auth',
|
||||
accessTokenUrl: 'https://oauth2.googleapis.com/token',
|
||||
clientId: 'CLIENTID',
|
||||
clientSecret: 'CLIENTSECRET',
|
||||
scope:
|
||||
'https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.addons.current.action.compose https://www.googleapis.com/auth/gmail.addons.current.message.action https://mail.google.com/ https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.compose',
|
||||
authQueryParameters: 'access_type=offline&prompt=consent',
|
||||
authentication: 'body',
|
||||
oauthTokenData: {
|
||||
access_token: 'ACCESSTOKEN',
|
||||
refresh_token: 'REFRESHTOKEN',
|
||||
scope:
|
||||
'https://www.googleapis.com/auth/gmail.labels https://www.googleapis.com/auth/gmail.addons.current.action.compose https://www.googleapis.com/auth/gmail.addons.current.message.action https://mail.google.com/ https://www.googleapis.com/auth/gmail.modify https://www.googleapis.com/auth/gmail.compose',
|
||||
token_type: 'bearer',
|
||||
expires_in: 86400,
|
||||
},
|
||||
},
|
||||
notionApi: {
|
||||
apiKey: 'key123',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user