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

firebase serve not using gcloud impersonated_service_account #8222

Open
Thaina opened this issue Feb 15, 2025 · 1 comment
Open

firebase serve not using gcloud impersonated_service_account #8222

Thaina opened this issue Feb 15, 2025 · 1 comment

Comments

@Thaina
Copy link

Thaina commented Feb 15, 2025

I am not sure this should be reported bug or feature request but I think firebase serve functions should allow using createCustomToken without the need for GOOGLE_APPLICATION_CREDENTIALS set

I have already try using gcloud auth application-default login with --impersonate-service-account and it seem firebase serve are not using this credential for firebase auth functions

If this is not a bug I would like to request this feature that firebase tools should automatically request for impersonated_service_account at firebase serve. It was more secure to require login with account in local development environment without the need to download private key and linked it within project folder

@joehan
Copy link
Contributor

joehan commented Feb 18, 2025

Thanks for the feature request! I'm currently looking into better ways to automatically provide emulators with application credentials as long as you are logged in, which should hopefully address this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants