davideast / remix-starter-firebase

30 stars 4 forks source link

Any thoughts on integrating firebase auth with Remix? #2

Open penx opened 2 years ago

penx commented 2 years ago

..specifically managing all authentication server side and not running the client SDKs in the browser.

Would the REST API be the way to go?

Related discussion:

https://github.com/remix-run/remix/pull/1811#discussion_r820086928

For my specific use case, I want to use remix loaders and actions, use Firebase auth and respect Firestore security rules so I think the REST APIs are the only way to go, but I'm also wondering if having the Firebase client SDK running server side in the remix run example project is a good idea or would present significant security issues?

https://github.com/remix-run/remix/tree/main/packages/remix-server-runtime