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

Add id_token capability on User Credential #468

Closed
guillaumeblaquiere opened this issue Aug 28, 2020 · 0 comments · Fixed by #650
Closed

Add id_token capability on User Credential #468

guillaumeblaquiere opened this issue Aug 28, 2020 · 0 comments · Fixed by #650
Assignees
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@guillaumeblaquiere
Copy link

To call private Cloud Run and Cloud Functions, we need to add a valid id_token. The library doesn't allow to generate one (not implement IdTokenProvider interface.)

The gcloud command, with the same user credential, allows to generate an id_token. gcloud auth print-identity-token

Problem

When I develop locally, I have to generate and download a service account key file to be able to tests private services from my code.

Service account key file is a nightmare for security (I wrote an article on this)

Expected behavior

To have the capability to generate a valid signed token from google auth library as the gcloud SDK do.

@yoshi-automation yoshi-automation added triage me I really want to be triaged. 🚨 This issue needs some love. labels Aug 29, 2020
@chingor13 chingor13 added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Sep 2, 2020
@yoshi-automation yoshi-automation removed triage me I really want to be triaged. 🚨 This issue needs some love. labels Sep 2, 2020
@TimurSadykov TimurSadykov self-assigned this May 15, 2021
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
5 participants