Seeing as this value is unique and present for all users in a mongo database, are there any particular caveats to using this as a user identifier in a web application?
P
... are there any particular caveats to using this as a user identifier in a web application?
A few that I've seen:
Particular issues I may be considering include if in the future the users need to be transferred.
Transferred to where? Once you start storing user's data in MongoDB, the IDs are going to be the least of your problems transferring to another DB. All modern DBs can handle some form of String or Binary as the primary key ID, so your transfer should work just fine. But most of the complexity will have nothing to do with the ID.