So i am working on this application (side project) and i am mainly a frontend developer. And now i am really stuck on getting the authentication in place.
I have written user registration and simple email + password login, but now getting the authentication and sessions in place is just something i keep getting stuck on.
I am running a MEVN (Mongo, Express, VueJS 2, Node) stack so i tried some of the options (auth0, express-connect, json webtokens), but i just can't find a combination that works and that i feel is secure.
So if someone wants to offer a hand / help with implementation or just knows the right up to date tutorial.
(or if you are a backend focused person and are very into music / a musician, i am looking for partners as well).
Top comments (3)
What about
passport-local
?Otherwise, you might also try Firebase Auth. I posted about Firebase Auth / Firebase Admin a while ago.
Firebase auth with both frontend (SPA) and backend
Pacharapol Withayasakpunt ・ Mar 28 ・ 2 min read
I tried passport-local, but then handling proper sessions with room for growth (multiple levels of user permissions etc) didn't really work. I looked through your post about using Firebase, i might give that another go! Thank you. :)
Maybe you are looking for Firebase Firestore permission, for example.