Select to view content in your preferred language

ArcGIS Online Authentication page persist

1056
8
Jump to solution
08-19-2024 10:25 AM
NicoleLeiva
Occasional Contributor

Hello! We've encountered an issue where the ArcGIS Login Page keeps reappearing after entering credentials on a device running Android 14. Interestingly, this bug is also reproducible using the repository example code. We've only observed this behavior on real devices with Android 14.

Here is a video demonstrating the bug: [bug demo].

Does anyone have any insights or suggestions on how to resolve this?

Thanks in advanced!

0 Kudos
1 Solution

Accepted Solutions
Erick_1
Esri Contributor

Thanks for the info, 

Let's try a few additional debug steps.

1st: 

Download the ArcGIS Maps SDK Sample Viewer app, link here 

Then, search for the sample "Authenticate with OAuth". Open it and try to login with your credentials. 

2nd: 

Downgrade your chrome version. You can do this by going to Chrome's "App Info" -> "App details" -> "Uninstall". This will just uninstall the latest updates to the app, not the actual app. 

Then try opening the "Authenticate with OAuth" sample in the ArcGIS Maps SDK Sample Viewer App. Try to login with your credentials again. 

Additionally, can you share the Chrome Version (after uninstalling the updates).

Let me know if you can still reproduce the bug after trying both of these steps.

Thanks!

 

View solution in original post

0 Kudos
8 Replies
Erick_1
Esri Contributor

Hello, 

Could you try and repro this when Chrome is set as your default browser?

0 Kudos
NicoleLeiva
Occasional Contributor

Yes, I have tried it and it is the same.

Here you can see the video.

0 Kudos
Erick_1
Esri Contributor

I am not able to reproduce the bug using the sample you mentioned: https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/tree/main/authenticate-with-oauth  , I am able to redirect to the app successfully. 

Can you verify that the sample AndroidManifest file has the following lines: 

 

 

<data
    android:host="auth"
    android:scheme="authenticate-with-oauth" />

 

 

We normally see this behavior when the redirect URI is not setup properly. 

Additionally, can you share more info about: 

- Device type

- Android version

- Chrome Version (found under Chrome's "App Info")

 

 

0 Kudos
NicoleLeiva
Occasional Contributor

Yes, the AndroidManifest it also contained those lines.


This is the info about my device:

- Device type: Galaxy A14

- Android version: 14

- Chrome Version:128.0.6613.88

0 Kudos
Erick_1
Esri Contributor

Thanks for the info, 

Let's try a few additional debug steps.

1st: 

Download the ArcGIS Maps SDK Sample Viewer app, link here 

Then, search for the sample "Authenticate with OAuth". Open it and try to login with your credentials. 

2nd: 

Downgrade your chrome version. You can do this by going to Chrome's "App Info" -> "App details" -> "Uninstall". This will just uninstall the latest updates to the app, not the actual app. 

Then try opening the "Authenticate with OAuth" sample in the ArcGIS Maps SDK Sample Viewer App. Try to login with your credentials again. 

Additionally, can you share the Chrome Version (after uninstalling the updates).

Let me know if you can still reproduce the bug after trying both of these steps.

Thanks!

 

0 Kudos
NicoleLeiva
Occasional Contributor

Yes, unfortunately the problem persists after having followed your recommendations.

Now my current Chrome Version is: 117.0.5938.60

0 Kudos
Erick_1
Esri Contributor

Thanks for that information @NicoleLeiva

One last thing, in the"Authenticate with OAuth" sample, if you dismiss the OAuth Login page by clicking on the "X" button on the top left and you go back to the sample, does the secure map load at all? If so, you should be able to see the traffic layer. 

Login_1.png

Thanks.

0 Kudos
NicoleLeiva
Occasional Contributor

Hey, @Erick_1 ! I have some news, now is working as expected. I did not need to close it manually.
I think that by uninstalling the latest updates on my chrome version made it work at some point. 


Thanks for your support! 

0 Kudos