Hi Matt,
Returned to this today.
Thank you for the pointer in the right direction. I now have authentication working, but only in the Unity editor and simulator. This works using an http localhost url (e.g. http://localhost:3000)...
... However I've so far been unable to get ArcGIS auth working on the Oculus goggles. Following steps here, and trying an https url I see this (expected) error in the logs...
16:04:20.617 11913 12324 E Unity : One or more errors occurred. (Invalid redirect URI)
16:04:20.617 11913 12324 E Unity : Esri.ArcGISMapsSDK.Samples.Security.<>c__DisplayClass1_0:<HandleChallenge>b__0(Task`1)
... This is expected since the Esri sample code rejects both http and https urls. Then, to break it really good... I tried a simple string (guid), but that fails: it does not create a valid URI in the sample code...
... doing more research, it looks like this could work by implementing a deep link for my Oculus app, and then using that url for the Esri redirect URI. Can anyone confirm that this is the approach? Is there a simpler approach out there?
I realize this is veering away from an Esri Unity question, but much appreciated if someone has sorted this.
Thanks,
-Cory
CORY EICHER
www.eichcorp.com
cory@eichcorp.com