You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

i want to get the token of login user in visual builder, please help

Summary:

Hi Experts

Is it possible to get the token of login user and save in some variable, so that i can use it in someother place

I tried below in JS, but didnt help

@Shay Shmeltzer-Oracle @Sherif Bashar

localStorage.setItem('token', data.token);

Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!