Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
uyuioi
· 6y ago · 0 comments
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.
Comments
[–]
uyuioi
OP
6y 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
6y ago
Why not do use django or rails for auth with JWT/token based auth recommending to use them for the other parts?
[–]
uyuioi
OP
6y 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.