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

Chat: Token element in DeprecatedEvent #763

Closed
daveneeley opened this issue Nov 25, 2020 · 3 comments
Closed

Chat: Token element in DeprecatedEvent #763

daveneeley opened this issue Nov 25, 2020 · 3 comments
Assignees
Labels
api: chat Issues related to the Chat API API. type: question Request for information or clarification. Not an issue.

Comments

@daveneeley
Copy link

The chat api specifies a Token element for DeprecatedEvent, with the following description:

token: {
type: "string",
description: "A secret value that bots can use to verify if a request is from Google. The token is randomly generated by Google, remains static, and can be obtained from the Google Chat API configuration page in the Cloud Console. Developers can revoke/regenerate it if needed from the same page."
}

In absence of #640, I was hoping to use this as an alternate method for validating incoming messages with the go client. All the generated clients have the same language, but the facility for revoking/regenerating the token was not obvious to me.
Could you shed some light on how this should be done?

@product-auto-label product-auto-label bot added the api: chat Issues related to the Chat API API. label Nov 25, 2020
@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Nov 26, 2020
@tbpg tbpg added type: question Request for information or clarification. Not an issue. and removed 🚨 This issue needs some love. triage me I really want to be triaged. labels Dec 1, 2020
@tbpg
Copy link
Contributor

tbpg commented Dec 1, 2020

Thanks for the issue. Off of the top of my head, I'm not sure what the answer is. I looked at the Chat API Configuration page, but didn't see any mentions of a token...

@codyoss
Copy link
Member

codyoss commented Dec 2, 2020

I might try to reach out through one of the methods listed on the Chat API support page.

@codyoss
Copy link
Member

codyoss commented Dec 7, 2020

Since this issue does not seem related to the generated client I suggest reaching out though the link provided above.

@codyoss codyoss closed this as completed Dec 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: chat Issues related to the Chat API API. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

4 participants