Select to view content in your preferred language

Using security key authentication with Survey123 Connect

1129
6
Jump to solution
01-09-2024 03:31 AM
HanliePetoors
Frequent Contributor

Hi,

I'm using a Yubikey external security key for MFA when logging in to Microsoft.

I'm also using it to log in to ArcGIS Online, which I can do successfully from a browser.

However when I try to log in to ArcGIS Online from Survey123 Connect, it doesn't seem to have the option to log in using a security key. It wants to use the Microsoft Authenticator app only.

Does anyone know if this is a limitation of Survye123 Connect and if there is a workaround?

Thanks

Hanlie

1 Solution

Accepted Solutions
ZacharySutherby
Esri Regular Contributor

Hello @HanliePetoors

https://survey123.maps.arcgis.com/ is my ArcGIS Online organization and was an example of what the URL for your ArcGIS organization would look like. 

If you log into your ArcGIS Online organization in a browser you can extract your organization URL from the browser URL:

ZacharySutherby_0-1704904774964.png

 

Please note you don't need to enter the whole /home/index.html in Survey123, you just need the organization URL which in my case is https://survey123.maps.arcgis.com.

Thank you,
Zach

View solution in original post

0 Kudos
6 Replies
ZacharySutherby
Esri Regular Contributor

Hello @HanliePetoors

This is a BUG with Survey123 and is logged as BUG-000128330. The workaround is to go to Connect settings and under the Connections tab select Add connection. From there paste your ArcGIS Online organization URL (for example, https://survey123.maps.arcgis.com) and enable the toggle to Use external browser for sign in. 

When you add the connection and then try to sign in Survey123 will launch your system default browser for you to authenticate there and then redirect you back to Connect after successful authentication. 

Thank you,
Zach
0 Kudos
HanliePetoors
Frequent Contributor

Hi @ZacharySutherby 

Thanks for the reply.

I set https://survey123.maps.arcgis.com/ as the URL and used browser login.

HanliePetoors_1-1704867478102.png

 

When logging in I then get this form, which doesn't give the option for an organisational login.

HanliePetoors_0-1704867149077.png

I entered my organisational username and password but that failed.

Am I missing something?

Thanks

Hanlie

 

0 Kudos
ZacharySutherby
Esri Regular Contributor

Hello @HanliePetoors

https://survey123.maps.arcgis.com/ is my ArcGIS Online organization and was an example of what the URL for your ArcGIS organization would look like. 

If you log into your ArcGIS Online organization in a browser you can extract your organization URL from the browser URL:

ZacharySutherby_0-1704904774964.png

 

Please note you don't need to enter the whole /home/index.html in Survey123, you just need the organization URL which in my case is https://survey123.maps.arcgis.com.

Thank you,
Zach
0 Kudos
HanliePetoors
Frequent Contributor

Hi @ZacharySutherby 

Thanks, I got it going. Sorry for the earlier confusion.

Regards

Hanlie

0 Kudos
ZacharySutherby
Esri Regular Contributor

Hey @HanliePetoors

No worries I'm glad it's working now! Unfortunately with the BUG it will also impact folks using the Survey123 mobile app too so the same workflow used to add the organization in Survey123 Connect will need to be used in the Survey123 field app too. 

The Survey123 website and web app should work without any additional configuration. 

Thank you,
Zach
0 Kudos
HanliePetoors
Frequent Contributor
Thanks, I managed to authenticate in the field app too.
What would we do without these forums? 😊
Regards
Hanlie
0 Kudos