1

In my application, I have a few navigation tabs. Each tab loads a web map from Portal for ArcGIS on-premise.

When each tab is clicked, it asks for the Portal credentials in order to load the maps.

I want end users to log in once on the main page and be able to access the maps without logging in over and over again. Are there any ways do so or other alternative ways?

2 Answers 2

1

You are going to want to change the Sharing properties of the WebMap to Share with my Portal.

2
  • Try the "Everyone" sharing option, pretty sure the users would still have to log into the Portal, but then wouldn't have to log in anymore.
    – Maksim
    Commented Oct 6, 2016 at 17:14
  • @Maksim Sharing with "everyone" may be undesirable. You're basically removing the security layer instead of managing it.
    – Evan
    Commented Oct 6, 2016 at 18:30
0

Check out the Named User Login guide in the documentation.

You should register your app in the portal and use the IdentityManager class to handle their authentication. This should prevent the subsequent logins.

4
  • The app is not created using any ArcGIS ready-made templates or using ArcGIS webappbuilder. Can I still register the app in the portal? Commented Oct 6, 2016 at 18:42
  • Yes, you can still register it. The first step is to add a new item (Web Application) which just creates an item within the portal. Then on the item details page, hit the register button to generate the appId. Be sure to set the redirect URI to the location your app will be hosted.
    – Evan
    Commented Oct 6, 2016 at 18:52
  • Thank you so much Evan. I am going to apply your suggestion. Commented Oct 6, 2016 at 18:56
  • This is called Application Authentication. This video might help youtube.com/watch?v=_csHP33lVY8
    – jakc
    Commented Oct 7, 2016 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.