OAuth2 Token Expiration always 2 hours

1226
0
12-17-2018 03:48 PM
ParksCamp
New Contributor III

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.

0 Kudos
0 Replies