Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which token to provide for hangouts google chat config? #7

Open
nekromoff opened this issue Jul 21, 2020 · 3 comments
Open

Which token to provide for hangouts google chat config? #7

nekromoff opened this issue Jul 21, 2020 · 3 comments

Comments

@nekromoff
Copy link

Per documentation:

If you dont use BotMan Studio, add these line to $config array that you pass when you create the object from BotManFactory.

'hangouts' => [
	'token' => 'YOUR-WEBHOOK-TOKEN',
]

What is the webhook token? I have a token for certain room, but for user to bot communication, no token is needed and in the console settings only HTTPS URL is required to be provided and no token is given

@nekromoff
Copy link
Author

Bump

@mattlibera
Copy link

I have a static token from here: https://console.developers.google.com/apis/api/chat.googleapis.com/hangouts-chat
Screen Shot 2020-08-07 at 2 56 48 PM

Worth noting that these static tokens are being deprecated, but this driver does appear to require them at this point.

This driver doesn't appear to be seeing much maintenance lately, but this is one thing that probably will need addressing soon if it is to keep working: https://developers.google.com/hangouts/chat/how-tos/bots-develop?hl=en_US#verifying_bot_authenticity

Anyway, hope that helps for now.

@nekromoff
Copy link
Author

nekromoff commented Aug 10, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants