Is it possible to use the props.token value to get information from the URL https://xxxxxxxxx/portal/sharing/rest/community/self?
I am trying to pull specific user data the authenticated user that is using the Experience that I have developed.
I have tried to use the props.token in the URL like this:
GET https://arcgis.mydomain.com/arcgis/rest/services/SampleWorldCities/MapServer?f=pjson HTTP/1.1
Host: arcgis.mydomain.com
X-Esri-Authorization: Bearer xMTuPSYpAbj85TVfbZcVU7td8bMBlDKuSVkM3FAx7zO1MYD0zDam1VR3Cm-ZbFo-
Or as seen here https://enterprise.arcgis.com/en/server/10.8/administer/windows/about-arcgis-tokens.htm but no luck so far.