Our app leverages Esri SSO. I want to take the information provided in a S123 webhook and map it the same user in our system. How can I do that? I see username is provided under userInfo and url is provided under portalInfo. Those 2 parameters get me close to what I need, but we save esri_org_id and esri_username in our system for each user.
Can I use token under portalInfo to get the esri_org_id? What can the portalInfo token be used for?