Missing Android Sdk Example for using Client_Id and Client_Secret

2166
4
08-16-2019 08:21 AM
Labels (1)

Missing Android Sdk Example for using Client_Id and Client_Secret

Dear community,

The question is quite simple. Is the Android SDK for the latest ArcGis Android Sdk version 100.5 supporting app login with client_id and client_secret without the OAuth dialog. I would appreciate here to get a yes or no answer to avoid confusions that happened by the answers given in the already asked question in 2018 where the answer doesn't clearly takes position to the question.


In our use case we want to use the ExportTileCacheTask to download an imagery tpk file for offline usage. We managed to do it by username and password and OAuth Login dialog but the most interesting scenario with the client_secret using the Android SDK is still absolutely unclear. The documentation in this regard has also a link cycle implemented which doesn't answer the question of how this is done.

The MapServer  that we are using is: https://tiledbasemaps.arcgis.com/arcgis/rest/services/World_Imagery/MapServer/ 

Your help and support is highly required. Even a no that it is currently not possible with the Android SDK would help a lot for our planning.

Best regards,

Tirdad

Dieses Dokument wurde aus folgender Diskussion erzeugt: Missing Android Sdk Example for using Client_Id and Client_Secret

Labels (1)
Comments

Hi Tirdad,

What you are looking for is app login. Unfortunately we haven't supported app login in the ArcGIS Runtime SDK for Android yet, but it is something we want to support in the near future. We are looking into if there is a workaround before we support it. Once a workaround is finalized, we will share it through a sample. 

Thank you for bring this to our attention.

Regards,

Hi Xueming Wu,

Is there any update on this topic? Did you find a workaround that you can share, or even better, is the support for app login maybe already on it's way? According to the release notes, it doesn't seem to be included in 100.7

Best regards,
Martin

Hi Marin,

App login has not been supported by our Android SDK yet. It is still in our to-do list. But I logged an issue to provide and share a workaround with our users at our earliest availability. Thanks for checking with us.

Regards,

Xueming 

Hi Xueming Wu,

Thanks for the update. Really looking forward to app login support or at least a workaround, as our end-users are struggling a lot with this!

Best regards,

Martin

Version history
Last update:
‎08-16-2019 08:21 AM
Updated by:
Contributors