Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArcGIS Enterprise Logins with web tier auth (IWA/PKI) #40

Open
jpeterson opened this issue Feb 11, 2022 Discussed in #38 · 7 comments
Open

ArcGIS Enterprise Logins with web tier auth (IWA/PKI) #40

jpeterson opened this issue Feb 11, 2022 Discussed in #38 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@jpeterson
Copy link
Member

Discussed in #38

Originally posted by mgress12 January 14, 2022
Does this app support enterprise portals configured with IWA/single sign on? The old ArcGIS online assistant had an option to login with IWA.
I've added and registered the app to Portal. Double checked the redirect URI but not having luck connecting.

I get a prompt for an approval that finds my credentials in Portal. After approving I'm returned to ArcGIS Assistant with only the top menu bar visible and the rest of the screen is grayed out.

Here are the registered app settings:

App_Reg_Info

Thanks!
Matt

@jpeterson jpeterson added the enhancement New feature or request label Feb 11, 2022
@mdlong
Copy link

mdlong commented Mar 23, 2022

+1 on this feature. I am unable to use this tool with my Portal until web tier auth is added.

@joeyHarig
Copy link

@nheminger Are there any updates on this enhancement request? I need PKI login support for a project, so I'm willing to take on any remaining dev work.

@nheminger
Copy link

@joeyHarig No updates recently. I have an initial prototype of the changes that will need to be made in the background but don't have any frontend GUI changes made yet. I can send over what I have so far and go over it with you.

@joeyHarig
Copy link

@nheminger That would be great! Do you have a branch with your changes?

@joeyHarig joeyHarig self-assigned this Sep 2, 2022
@bchileen
Copy link

bchileen commented Aug 9, 2023

+1 on this feature as well, I would love to use this app but until PKI login is supported, im unable to link to my portals.

@ftm610
Copy link

ftm610 commented Sep 25, 2023

+1 @jpeterson @nheminger when will IWA Portals be supported?

Same behavior with Portal 10.9.1 as described by OP. No success adding website to Portal's Allowed Origins list or adding website as registered application item to Portal's App Launcher.

We also see this console log error reported by others...
accountManagerUtils.js:241 Error getting User Session (completeOAuth). Error reading property may result from app redirecting before operation can read token hash in url. Error: Could not create account object. This could be due to UserSession.getUser(). TypeError: Failed to fetch

This Portal can authenticate successfully with the old AGO Assistant site using both "PKI or IWA Login" and "OAuth Login" options.

@JPStupfel JPStupfel self-assigned this Jun 6, 2024
@JPStupfel
Copy link

I can verify this is still an issue even after the Rest JS update.

To repro I attempt to authenticate to https://jctest1.esri.com/ which uses IWA. I am redirected to the log in page and not authenticated.

On the contrary, if I authenticate using jctest4 I am successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants