I'm using the OAuth2 workflow in my Xamarin.Forms app to authenticate against our enterprise portal. I'm able to login and get the access token. However, no matter what I use for TokenValidity when generating the request (in GenerateTokenOptions), the returned token always expires in two hours.
I see this same behavior when using the Esri OAuth sample (arcgis-runtime-samples-dotnet/src/Forms/Shared/Samples/Security/OAuth at master · Esri/arcgis-runtim... ).
Am I missing something in the workflow? A two-hour expiration is a pain.
Any thoughts are appreciated.