Select to view content in your preferred language

OAuth on Enterprise Server unexpected behaviour

474
1
09-24-2023 08:29 PM
ThomasC
New Contributor

I'm hoping someone can help me, I'm trying to implement esri's oAuth solution as described here:
Implement user authentication | Overview | ArcGIS Maps SDK for JavaScript 4.27 | ArcGIS Developers

This is the first time implementing onto an Enterprise server rather then Arcgis Online.

i'm running the code as is with the AppID and portalURL configered in the OAuthInfo object.
I have two feature layers hosted on their server that require a login to test authentication.

But I am getting the below popup which appears even if I have the OAuth code commented out or not.

Anyone know what is going on?

0 Kudos
1 Reply
Thomas_Puthusserry
Occasional Contributor

Hi @ThomasC  have you managed to find a solution to this? I have same issue with login to enterprise portal (it works fine in AGOL). 

Thanks Thomas Puthusserry

0 Kudos