Automatically Refresh Auth Tokens on User's Custom Data Change
Currently, getting updates to custom user data on the frontend requires periodically refreshing the token. A potential improvement would be for MongoDB Realm/SDKs to detect these changes automatically and streamline the token refresh so application code wasn't required to handle this case.
35
votes
Drew
shared this idea
-
Daniel commented
I agree this would be good. Note that there is a client function: app.currentUser.refreshCustomData();
-
Saurabh commented
It's very cool and necessary for Security!