Second login prompts while authenticating arcgis online with oAuth

6994
16
04-16-2015 03:55 AM
shafitrumboo
Occasional Contributor

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
shafitrumboo
Occasional Contributor

Mike Minami

Your help will be appreciated on this

0 Kudos
MikeMinami
Esri Notable Contributor

Sorry, I am unable to help you with writing an application as I don't write code. Perhaps others in the forum will have input. Otherwise, I'd suggest contacting technical support.

Thanks,

Mike

0 Kudos
shafitrumboo
Occasional Contributor

Thanks for your answer can you tell me how to contact tec support. but I don't want to contact local support here

0 Kudos
MikeMinami
Esri Notable Contributor

Here's a link to the support page. If you are outside the United States, you need to go through your local distributor.

Contact Tech Support

Thanks,

Mike

0 Kudos
shafitrumboo
Occasional Contributor

Derek Law

Please provide your valuable inputs

0 Kudos
DerekLaw
Esri Esteemed Contributor

Hi Shafi,

From your original post in this discussion thread,

> I want for end users a custom home page where they will see all applications permitted to them.

Why don't you leverage the Explorer for ArcGIS app? It offers a personalized UE that displays only the maps and apps that you own or that you are interested in.

FYI: Explorer for ArcGIS | ArcGIS

0 Kudos
shafitrumboo
Occasional Contributor

1. These application will be based on Arcgis Java Script or Developer edition of WAB.

2. We want our own branding

3. Some application will be external secure applications which have its own login but we also want to avoid another login window so need some kind of SSO

0 Kudos
AkshayHarshe
Esri Contributor

Hi shafi trumboo​,

Thanks for reaching out. Correct me if I am wrong but you want to know why your application asks you to log in or /approve the user id you are using when you are already logged in to ArcGIS online? And by that you mean it is a second prompt for you to log in to the same account.

Thanks,
Akshay Harshe
0 Kudos
shafitrumboo
Occasional Contributor

Thanks for your reply

I creating custom home page that is deployed on webserver and pulled all assigned apps (Items) of logged in user. Here for login and pulling the items am using this sample OAuth Basic | ArcGIS API for JavaScript . But once I click on application "ArcGIS Web Application" (listed in my home page i,e http://localhost/portal/index.html), it redirects me to "https://mydomain.maps.arcgis.com/home/signin.html?returnUrl" me for login again  as displayed attached image after screen 3.

0 Kudos