AnsweredAssumed Answered

OAuth2 Token Expiration always 2 hours

Question asked by parks_camp on Dec 17, 2018

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-runtime-samples-dotnet · G… ).


Am I missing something in the workflow? A two-hour expiration is a pain.


Any thoughts are appreciated.