App including secure service with attachments asking to login twice

1496
2
Jump to solution
06-16-2016 09:09 AM
RussellCamp
New Contributor II

I have a web app, with a secure service that has photo attachments. when the app loads, ArcGIS Online asks for authentication, then when the user tries to access a photo attachment, ArcGIS Server Rest API asks to authenticate a second time. How do I eliminate the need for the second login request and just open the attachment?

0 Kudos
1 Solution

Accepted Solutions
RussellCamp
New Contributor II

I figured it out, you have to configure trusted servers in ArcGIS Online and add your server to the trusted list.

View solution in original post

0 Kudos
2 Replies
RussellCamp
New Contributor II

I figured it out, you have to configure trusted servers in ArcGIS Online and add your server to the trusted list.

0 Kudos
DavidColey
Frequent Contributor

Hi Russell - can you verify that you are using Web Tier authentication, this doesn't affect GIS Tier / token authentication

0 Kudos