Second login prompts while authenticating arcgis online with oAuth

6320
16
04-16-2015 03:55 AM
shafitrumboo
New Contributor III

Robert Scheitlin, GISP​, Rebecca Strauch

Akshay HarsheMike Minami

I wanto to use Arcgis Portal and ArcGIS Server (10.3) but currently using arcgis online. I want for end users a custom home page where they will see all applications permitted to them.Rest for all I will user arcgis online like creating users, created apps and assigning apps to users.

I was successfully by going through OAuth Basic | ArcGIS API for JavaScript Am am to list only assigned application to signed in user but once I click on application it prompts me other login window again in attached image after screen 3.

I observed also if am  logged in in arcgis.com through user e,g agouser and when I access my application i,e localhost/portal/index.html my application prompts me that do want to access the application using that Id so

mminami-esristaff

Tags (2)
0 Kudos
16 Replies
AkshayHarshe
Esri Contributor

Sorry, Which image after screen 3? I can see just 3 images Screen 1,2 and 3.

Thanks,
Akshay Harshe
0 Kudos
shafitrumboo
New Contributor III

Oh Sorry!

Here you goe1.jpg

0 Kudos
AkshayHarshe
Esri Contributor

Are you logged in to the same browser window somewhere else?

Thanks,
Akshay Harshe
0 Kudos
shafitrumboo
New Contributor III

Same Browser window

0 Kudos
KarenLandicho
Esri Contributor

Hi

Did you get a way around to solve this? I'm also trying to do this but still have no luck.

Thanks,

Karen 

0 Kudos
ChrisAdams
Esri Contributor

What if you access the application using the FQDN, i.e, machine.domain, instead of localhost?

0 Kudos
PrevinWong1
Esri Contributor

From the different screenshots I see, you are accessing multiple domains (local host, *.arcgis.com).  Since these domains are different, they cannot access the authenticated session cookie of each other.  From screenshot 3, when you click on an application, are you prompted to login each and every time you click on an application from screenshot 3?

0 Kudos