I expose my userId in the user documents to make it easier for later use. Will this create any issue.
Asked
Active
Viewed 153 times
1 Answers
0
No. Exposing the user UID does not or will not create any threat to your database until and unless you have your firebase rules properly setup.
Read more about Firebase Rules.

Sushan Sapaliga
- 324
- 5
- 14
-
This is not entirely true. An insecure system could still reveal something about a user given a UID, even if the UID itself doesn't contain any data. – Doug Stevenson Sep 15 '20 at 03:13