Good Day,
I want to use the OAuth + Biometric Authentication template as my application's sign in page whereby the user stays signed on where using the app. Any ideas on how I can do this?
Thank you.
The sample already does that. The trick is to have a registered client ID and have a redirect URL set to the native app. Register your app if you haven't already, and add your own redirect URI, or add urn:ietf:wg:oauth:2.0:oob to use the hosted redirect page back to your app on ArcGIS Online. The urn:ietf:wg:oauth:2.0:oob URI is also automatically set for any apps made and registered in AppStudio for ArcGIS Desktop Edition.
http://doc.arcgis.com/en/appstudio/create-apps/signyourapp.htm#ESRI_SECTION1_549220729B524C39A68333684173765D
We have implemented that in the MapViewer OAuth2View.qml using the Runtime AuthenticationManager
Nakul
I did this already however it is just taking me back to a Profile page. Thats it.
Yes, because this sample is what supposed to take you to the Profile page. You can add your logic to go to some other page.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.