tensor-house icon indicating copy to clipboard operation
tensor-house copied to clipboard

Authentication for portal and routing

Open zinfin opened this issue 8 years ago • 3 comments

Question: If the user starts the app, signs in to the http://www.arcgis.com portal with credentials then requests a route they are not prompted for credentials a second time. But the reverse is not true - if a user starts the app and first requests a route (where they are prompted for credentials) and THEN signs in to the portal to view their content they ARE prompted a second time for credentials. Why?

zinfin avatar Nov 14 '16 23:11 zinfin

@doneill Is this behavior expected to change in upcoming updates or releases?

zinfin avatar Nov 29 '16 18:11 zinfin

@zinfin Yes, I think this workflow should be updated such that it supports a single sign-on.

doneill avatar Nov 29 '16 18:11 doneill

The problem: A user is forced to authenticate twice if they want to see their portal content and if they want to get a route.

Solution: Use a single sign in model by leveraging CredentialCache once the user is logged in (either to Portal or via routing workflow). This will also enable social login to work correctly. Currently, once the social login is cached it conflicts with the second attempt to login.

zinfin avatar May 23 '17 22:05 zinfin