-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Using Firebase Admin SDK #5628
Using Firebase Admin SDK #5628
Conversation
Copy from the firebase-adapter package
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Thanks for the efforts on making use of the admin SDK, could we plz have this merged soon. |
Thanks for reopening! |
@RonAlmog I still need to add in tests (hopefully today, maybe tomorrow) but what about the "Verify (javascript)" task that is pending? |
Thanks @NorbertHuethmayr |
feat(adapters): add Xata adapter (#4911)
Any news on this one? |
Does it mean we can use FirestoreAdapter now? |
Nah, merge is blocked |
Probably go with Clerk for now. Also, NextJS 13 has issues with NextAuth |
I don't care too much about Next13 since it's kind of interesting beta. It just would be nice to use the firebase adapter to save some time :) |
Merged from origin
@ndom91 hey there, for me it all works and looks as expected. Could you perhaps do a review on this too? :) |
@NorbertHuethmayr please resolve the conflicts! |
@ndom91 @lluia @ThangHuuVu FYI @NorbertHuethmayr @shriharip @bcthakre |
Yes, I agree, would be best to have this in quickly. I have also now upvoted the PR. @NorbertHuethmayr @Chibionos |
I opened PR on @NorbertHuethmayr fork... contributer used the windows command prompt only Hopefully should at least fix the build from throwing that error |
Done 👍 - now I need to pull in changes from main to be up to date. |
Seems like there is a new version of NextAuth. Has the firestore adaptateur improved in it. Best Regards, Bhupendrasinh ThakreOn Dec 13, 2022, at 1:48 PM, Norbert Hüthmayr ***@***.***> wrote:
I opened PR on @NorbertHuethmayr fork... contributer used the windows command prompt only del command. Instead, it should be the rm command considering the build is being run on a Linux build server.
Hopefully should at least fix the build from throwing that error
Done 👍 - now I need to pull in changes from main to be up to date.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@bcthakre The PR works on having the firebase adapter using admin SDK and not on updating the firebase web SDK module. In that case, the security concern leading to this proposed PR is still not addressed. +1 for this PR |
New adapter that uses the Firebase Admin instead of the client-side SDK
☕️ Reasoning
The current implementation of firebase-adapter uses the client SDK. This has the severe drawback that the Firestore Rules need to be opened up. Instead of using the client-side SDK, we should be using the server-side one. That way we can keep the Firestore rules closed and still integrate nicely with FB
🧢 Checklist
🎫 Affected issues
This PR solves an architectural problem with the firebase-adapter as descibed in discussion 5049
📌 Resources
❓ Questions
firebase-admin-adapter