My app paradigm is to allow users to access basic features anonymously and only require account creation to access premium features. Thus, every user starts out accessing Realm anonymously and can choose to create an account whenever the time is right for them.
Per this GitHub issue: https://github.com/realm/realm-js/issues/2211, there is no way to convert an anonymous user to authenticated. What is the recommended way to migrate or switch a user from anonymous to authenticated.
In my scenario, anonymous access is read-only and only an authenticated user can ever create content if that makes a difference to the overall migration strategy.