Skip to content

Create and verify Google OIDC tokens #2786

@salrashid123

Description

@salrashid123

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    cpp: backlogWhile 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.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions