Select to view content in your preferred language

Experience Builder need to login even already have Portal Login

151
3
Jump to solution
4 weeks ago
Muhammad_AzhaziqBin_Mohd_Azlan
Regular Contributor

Hi,

My client deployed an experience in their Portal Server. Both their deployed experience have same domain.

Upon successful login to Portal, my client expect when they access the deployed experience they will not be challenge by login again. 

However, it doesn't behave like that. My client still need to login again at least once in the deployed experience. The login popup seems acknowledge the ArcGIS token from the Portal login earlier since it only 'Allow' to access application rather than login form.

FYI, I'm testing this using named login as well as SAML authentication

Does the prompt happen because the application load too fast before even the entire credentials checking happen or by design user need to at least login once even they already successful login using ArcGIS Portal?

EXB Dev Ed version - 1.17
AGE version - 11.3


0 Kudos
1 Solution

Accepted Solutions
Muhammad_AzhaziqBin_Mohd_Azlan
Regular Contributor

I added the app item in the trusted app will not show ArcGIS Auth popup. It still prompts user to login but after click sign in, if user already logged in before, no ArcGIS Auth popup shown.

To achieve fully seamless SSO like, I've added custom login ui-less widget and add into Experience Builder header section.

The custom login widget will use IdentityManager to redirect the app to ArcGIS Auth login rather than popup. If user already logged in the redirection will auto-resolve given the app already trusted in the Portal. No prompt to sign in being shown to user 

View solution in original post

0 Kudos
3 Replies
TimWestern
MVP

When its prompting for login, is it only giving you username and password?

I have seen at times when certain layers, if they are behind a different permission set than portal, might prompt to authenticate. (Not sure that's related though)

0 Kudos
Muhammad_AzhaziqBin_Mohd_Azlan
Regular Contributor

Got a prompt to signin. Once click it will bring to ArcGIS Auth popup and will give a prompt 'Request for Permission' and user to choose cancel or Allow

0 Kudos
Muhammad_AzhaziqBin_Mohd_Azlan
Regular Contributor

I added the app item in the trusted app will not show ArcGIS Auth popup. It still prompts user to login but after click sign in, if user already logged in before, no ArcGIS Auth popup shown.

To achieve fully seamless SSO like, I've added custom login ui-less widget and add into Experience Builder header section.

The custom login widget will use IdentityManager to redirect the app to ArcGIS Auth login rather than popup. If user already logged in the redirection will auto-resolve given the app already trusted in the Portal. No prompt to sign in being shown to user 

0 Kudos