2 ms·
A couple of things I really think would help: The password reset and login form leaks account info in the network response. You should return the same network
by scrose 5y ago
A couple of things I really think would help:
The password reset and login form leaks account info in the network response. You should return the same network response regardless of whether the user exists in the DB, instead of relying on the UI to communicate that.
Logging into your site sends back the full account profile object, including the password 'hash', which appears to just be a Base64 encoded string. Fortunately the Firebase API redacts that field so the decoded string is just 'REDACTED', but that's not a good thing to rely on, and I hope the password is actually encrypted behind the scenes..
Both of these are unfortunately common mistakes you see even on more well known sites.
Goodluck with everything.
- trizoza 5y agoHi thanks for that. I'm using the Firebase Auth out of the box, basically just methods like - fb.login(), fb.logout(), was not even thinking that Firebase could be insecure tbh.
- sss111 5y agoHi, Could you help me replicate this on my machine. Should I use the developer console to check all network responses?