Select to view content in your preferred language

OAuth2 Token Expiration always 2 hours

1559
0
12-17-2018 03:48 PM
ParksCamp
Regular Contributor

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.

Tags (1)
0 Kudos
0 Replies