top | item 23024157

(no title)

uyuioi | 5 years 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.

discuss

order

uyuioi|5 years ago

Also. 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|5 years ago

Why not do use django or rails for auth with JWT/token based auth recommending to use them for the other parts?

uyuioi|5 years ago

Considering 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.