4 ms·
Use firebase auth as the authentication layer. Then once a user is authed in just use mongodb as per usual in node or Postgres in rails, django etc You pass th
by uyuioi 6y ago
Use firebase auth as the authentication layer. Then once a user is authed in just use mongodb as per usual in node or Postgres in rails, django etc
You pass the token to the DB via HTTPS decrypt and off you go.
- uyuioi 6y agoAlso. If you use the auth as a middleware on the routes you want authed, you’re can remove it later for passport or something else.
- gt2 6y agoWhy not do use django or rails for auth with JWT/token based auth recommending to use them for the other parts?
- uyuioi 6y agoConsidering OP states he’s not proficient in the backend. Leave auth to google. It’s just a middleware in Node so not a huge issue.