IdentityManager instance of Experience Builder (Developer Edition)

06-08-2021 08:55 AM
Labels (1)
Occasional Contributor III

How to get the IdentityManager instance of Experience Builder (Developer Edition)?

In one of the custom widget, I have created esriJSAPIOAuth json object and added it to sessionStorage. I want IdentityManager instance of Experience Builder to instantly pick up esriJSAPIOAuth from sessionStorage.

Any leads please.

0 Kudos
1 Reply
New Contributor III

An old post, but I've stumbled upon it looking for the same solution. The SessionManager class does what I need in ExB for handling authentication within my apps:


let sm = SessionManager.getInstance();


I hope this helps anyone in need.

0 Kudos