-
Notifications
You must be signed in to change notification settings - Fork 376
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
FR: support createCustomToken using default google credentials #224
Comments
In a second thought could be encryption of the token issue with different credentials. |
@manishtpatel This is in our roadmap. Can't provide a specific timeline yet, but please know that this is definitely something we wish to support. |
Coming from firebase/firebase-functions#3. With Firebase Functions v1.0 no longer supporting manually setting the certificate; is there any update on this? Alternatively, can support be added back to the Admin API to allow manually setting the certificate? Is there an alternative way to enable createCustomToken on Firebase Functions? |
+1 |
Firebase Auth and Admin SDK will make this use case easier to implement in a future release, but for now you should manually pass the certificate credential. |
@hiranya911 Yup, did that instead and works fine! Thanks |
I've started making some progress towards supporting this use case (creating custom tokens without a service account). My first attempt is now undergoing testing in the https://github.com/firebase/firebase-admin-node/tree/hkj-jwt-sign branch. Stay tuned. |
@hiranya911 I hope your PR will be merged soon, I'm trying to upgrade firebase functions to version 1 and I use
complains because and
complains because I think I'll have to revert back |
+1 |
This feature is now implemented. |
Firebase functions need custom credentials to use createCustomToken() for now. Looks like a missing functionality, we need to manage different credentials for each environment just to use createCustomToken(). There is no reason to not support createCustomToken() using default google credentials.
The text was updated successfully, but these errors were encountered: