Is it possible to login automatically with some info(for example, cookie or token added in Headers)?
I put a website page in my mobile app( through webview method). After user login on the app, is it possible for No twice login on the website (as showed through webview method)?
Yes. It is possible to implement your own login logic.
Check out wixUsersBackend.GenerateSessionToken
https://www.wix.com/corvid/reference/wix-users-backend/generatesessiontoken
Hi, Ido. Thanks for your reply.
I still don’t figure out the logic.
So the key code is:
wixUsers.applySessionToken(sessionToken);
But how can I pass this sessionToken to the wix website?
I can use a request in http-funtions.js to get the seesionToken. But this token is not in the website but in the mobile app.
Anyone who can solve this problem? Thanks in advance.