Widget identifying when user logs in (Dev 1.1)

2644
10
Jump to solution
09-30-2020 08:30 AM
PhilLarkin1
Occasional Contributor III

How might a widget know that a user has successfully logged in? Is there a message I can listen for? Seems the message/action route isn't ready for this yet as the message list is short: https://developers.arcgis.com/experience-builder/api-reference/jimu-core/MessageType 

Is there some other built-in method for identifying a successful log in? I'm currently waiting for props.user to populate but this is problematic for several reasons. 

0 Kudos
10 Replies
PhilLarkin1
Occasional Contributor III

Thanks for your reply. I can confirm that the token is updated after login. The user prop is not. 

0 Kudos