Is it possible to use the props.token value to get information from the URL https://xyz/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.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.