Select to view content in your preferred language

Generating token using OAuth 2.0 Silent

379
1
07-31-2022 07:08 AM
Tarunvisvanadula1994
Emerging Contributor

Hi,

I was trying to generate token using OAuth, By entering Login detail manually on login page i was able to get token.

But ,instead of entering username and password .Can we send user credentials directly to OAuth/Identify manager, so user can login silently without entering credentials again in popup.

Thanks

 

0 Kudos
1 Reply
ReneRubalcava
Honored Contributor

Without user interaction for ArcGIS Online, no. The user has to log in at least once, then they can return to the page without having to log in again. Online defaults to two-week credentials I believe.

https://community.esri.com/t5/arcgis-api-for-javascript-videos/identitymanager-in-the-arcgis-api-for...

0 Kudos