We use Meteor login system. We link to our website from the app for some functionality, but when the user goes to this webview he has to log in again. This is quite a hassle for the user.
What we’d like to do instead is auto log him in. Meteor uses the browser’s local storage to do the login. If we can set the localstorage from the app when opening the webview he’ll be autologged in. I’m not sure this possible to do, but if it is I would love to know how.
If there’s another way to communicate with the webview that’s opened that would also be great.
One solution I can think of is sticking the login token in the url for the user and then place that into localstorage when the page loads although I’m not sure if that’s a security best practice to have the login token in the url.
Any help would be appreciated here.