User-authentication.js set global values

Once user authenticated successful, I want to set some value in global context scope.
How to access global object to set data in user-authentication.js.

I tried below, but no luck:
var globalContext = this.context().global;

The user authentication mechanism has no direct access to the context component. I can't think of any way to do it.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.