In a hybrid mobile application, I would like to
- login the user on the native side, using DDP
- hand-over this login to the webapp at some point of time; the webapp itself will be started in the background
To make this work, I would need a kind of login token to pass from the native side to the webapp. I’ve seen in the database that such tokens exist. But I do not know how these tokens can be used to authenticate the user directly. Is there an API to authenticate the user based on the known token instead of entering user credentials?