GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs

Question: How can one do OIDC token validating using event signature?

Open
#705 0 comments 0 reactions 0 assignees View on GitHub
feature request P2
Dominant language
TypeScript
Stars
1.4k
Forks
181
PR merge metrics
No merged PRs in 30d

Description

As per title, if I create a cloudevent handler with signature of event, I do not have access to the headers to validate any OIDC token that I want to validate.

My use-case is for cross-team cross-project PubSub communication so having the OIDC token validation is a nice layer of security, it's easy to do with the http endpoint but I wanted to check if there is a way to do it via Cloudevent so I can also take advantage of the unmarshalling?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.