refine

how to use refine with firebase?
2 Replies
kapa.ai
kapa.ai3mo ago
Hi @Alex YT. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- To use Refine with Firebase, you can use the community package refine-firebase. This package provides support for Firebase services. You can find it here (https://github.com/resulturan/refine-firebase). However, please note that this package was made for Refine 3.x, and to use it with Refine 4.x, you might need to use legacyAuthProvider instead of the normal authProvider or make your own changes according to the migration guide (https://refine.dev/docs/migration-guide/auth-provider/#motivation-behind-the-changes). For Firebase Authentication, it seems there's a request for an example of how to integrate it with Refine. The issue is that the AuthProvider from Refine seems not compatible with the authentication state observer from Firebase. You can follow the tutorial to create your auth provider here (https://refine.dev/docs/tutorial/understanding-authprovider/create-authprovider/). Please note that while Refine does not officially support Firebase, the community has created packages to help with the integration. Always check the latest updates and versions to ensure compatibility. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
kapa.ai
kapa.ai3mo ago
<@398749213795680259> kapa.ai is still learning and improving, please let us know how it did by reacting below