Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit abaceed

Browse files
authored
Merge pull request #1543 from bobman38/google_cred_as_env
hangouts chat: allow to consume auth data from env var instead of file
2 parents 18061f7 + c28c734 commit abaceed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/GoogleHangoutsBot.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ function GoogleHangoutsBot(configuration) {
161161
google_hangouts_botkit.middleware.spawn.use(function(worker, next) {
162162

163163
let params = {
164-
scopes: 'https://www.googleapis.com/auth/chat.bot'
164+
scopes: 'https://www.googleapis.com/auth/chat.bot',
165+
...configuration.google_auth_params
165166
};
166167

167168
google

0 commit comments

Comments
 (0)