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

idtoken: support providing custom certificate URLs #640

Open
keyslapperdev opened this issue Aug 25, 2020 · 2 comments
Open

idtoken: support providing custom certificate URLs #640

keyslapperdev opened this issue Aug 25, 2020 · 2 comments
Assignees
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@keyslapperdev
Copy link

The current documentation for Google Chat bot verification shows

All bearer tokens sent with requests from Google chat will have chat@system.gserviceaccount.com as the issuee, with the audience field specifying the target bot's project number from the Google API Console. For example, if the request is for a bot with the project number 1234567890, then the audience is 1234567890.

In their code examples they show that the url to get the keys for validation should be https://www.googleapis.com/service_accounts/v1/metadata/x509/ + ${theAboveIsuee}

As of now this repo doesn't support the kind of JWT validation specified in the docs.

I feel a solution would be to create a module, or extend current functionality, to validate JWT provided a url.

@codyoss codyoss changed the title Feature Request: Generic JWT validation idtoken: support providing custom certificate URLs Aug 25, 2020
@codyoss
Copy link
Member

codyoss commented Aug 25, 2020

Thanks for the feature request!

@codyoss codyoss added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Aug 25, 2020
This was referenced Nov 25, 2020
@dennbagas
Copy link

Is there any update about this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants