tylermcginnis / re-base

:fire: A Relay inspired library for building React.js + Firebase applications. :fire:
2.13k stars 143 forks source link

Best Practices for re-base + auth flow? #236

Closed reidperyam closed 6 years ago

reidperyam commented 6 years ago

I'm using Auth0 to authenticate instead of Firebase auth. In lieu of this I am struggling to understand how to integrate auth flow into re-base so that I can configure Firebase rules around Database CRUD specific to the signed-in user. For example I don't want to allow a logged in user to update firebase database data keyed to a different user. setting firebase database rules necessitate a received auth.user_id -- how can I integrate auth0 with re-base to facilitate this?

reidperyam commented 6 years ago

Ah I found the documentation in the deprecated migration guide here