-
Notifications
You must be signed in to change notification settings - Fork 439
Create and verify Google OIDC tokens #2786
Copy link
Copy link
Closed
Labels
cpp: backlogWhile desirable, we do not have time to work on this for the foreseeable future.While desirable, we do not have time to work on this for the foreseeable future.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.
Description
FR to provide an API to create and verify google OIDC tokens.
These id_tokens are based on service account type flows (service_ccount.json, compute engine, impersonatec credentials) and can be used to invoke user services behind Cloud Run, Cloud Functions and behind IAP
GCP services like nodejs and google-auth-python currently support an API to generate these tokens if given a serivce account credential or on compute engine.
if it helps, here are mostly raw imementations:
Suggested interface would be
-
Create
.getGoogleIdToken(audience) -
Verify
.verifyIdToken(token, audience, cert_url)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cpp: backlogWhile desirable, we do not have time to work on this for the foreseeable future.While desirable, we do not have time to work on this for the foreseeable future.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.