The CreatorCon Call for Content is officially open! Get started here.

getSessionToken not working

Tommy Jensen
Giga Guru
gs.getSession().getSessionToken()
 
is not working. It returns undefined. It has been working before.
 
Applies to both Madrid and Orlando. (have not tested on New York yet)
5 REPLIES 5

Harsh Vardhan
Giga Patron

try to execute it on scoped application. 

 

it will return token id. 

 

var session = gs.getSession();
var token = session.getSessionToken();
gs.info(token);

Have tried it does not work.

screenshot for reference. 

 

find_real_file.png

 

find_real_file.png

 

 

Hello!

Thanks, indeed it's only available in a scoped application, any clue about a global equivalent?