GoogleCloudPlatform / GoogleCloudPlatform/functions-framework-nodejs

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

Offen
#705 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature request P2
Vorherrschende Sprache
TypeScript
Sterne
1.4k
Forks
181
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.