applySessionToken( )


Logs the current member into the site using the given session token.

The applySessionToken() function returns a Promise that resolves when the given session token is applied and the current member is logged into the site.

You receive a session token from the following wix-members-backend functions:

Pass the returned session token to your page code and apply it by calling applySessionToken() to complete the process started by one of the above functions.

Method Declaration
Copy
Method Parameters
sessionTokenstringRequired

Session token to apply.

Was this helpful?
Yes
No