Closed bookyo closed 3 years ago
I don't think so... the id
value is just used in the database key, and is concatenated with the string :uid
, so you can just really leave it as-is.
It's only really useful if you want to keep things separated in case you want to switch to a different session-sharing strategy later on.
if my app userid is mongodb objectID,it will work fine?