-
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 Edge and Deno runtime #1801
Comments
I found a few problems with this issue:
|
We currently do not have any specific plans to support Deno or Edge runtime. Although, I would encourage you to file a feature request through https://firebase.google.com/support to create more visibility on this within the team. It will also help us gauge the interest for these feature requests. Thank you! |
Duplicate of #1307 |
@oreqizer This repo is open source. Do you think forking this repo and making Disclaimer: I’m not a Deno user, and don’t suggest to contribute. It would be an interesting thing to follow, though… |
@akauppi it definitely would be to some extent, depending on related dependencies. out of my time capacity to gauge/attempt though |
We'd love to see nextjs edge support. |
If possible, we would like edge support as well, as |
Hey is there any progress with this PR? |
Using the rest API was my workaround see the story https://m3hari.medium.com/firebase-database-using-rest-api-3b4c8982164e |
@m3hari the admin package does more than that. For example, I'd like to decode a firebase id token and get custom claims from it. |
I'd like to do this exact same use case. Has anyone found a work around?
|
just verifying token was my use case |
What about REST API? My issue here was closed today claiming that I can use AUTH REST API to manage users. Do you agree with lahirumaramba (Firebase employee)? |
@step135 I don't think that is true. Decoding a token I wouldn't categorize as "managing users" and looking at the list on the right side of the API reference I don't see it either: https://firebase.google.com/docs/reference/rest/auth |
The solution to this problem is "Firebase Admin Lite" which would basically have a REST API under the hood. For those who don't know, Firestore has a "lite" version, but you can't use auth or anything meaningful with it for the moment. It does, however, help with non-logged queries. Also, you may want to vote on the request and maybe it will get more attention: J |
If you want to decode the auth token, I've just created a package that does this, just pass in your token and project ID and it will decode it. Works on the edge https://www.npmjs.com/package/firebase-edge-auth |
Is your feature request related to a problem? Please describe.
https://nextjs.org/docs/api-reference/edge-runtime
I'd like to use
firebase-admin
in an Edge environment and Deno. The package currently uses Node-specific APIs though, making that impossible.Describe the solution you'd like
Would be awesome to support the Edge/Deno runtime, e.g. via
firebase-admin/common
.The text was updated successfully, but these errors were encountered: