You can modify the default OAuth access token duration (or lifetime) for all the generated access tokens. To achieve this, add the
security.oauth.tokenLifetimeentry to the
defaults.xmlconfiguration file in the following way, with the OAuth access token duration specified in seconds:
no problem, and sorry for the late response!
I was having a similar problem so I am jumping in on this thread -I tried this and it is still expiring. I just changed this to <entry key="security.oauth.tokenLifetime”>315360000</entry> so as to last 10 years and it still appears to be expiring. When I created the new token and allowed access I get &expires_in=315360000&state= in the token confirmation. Any idea as to what the problem may be on my end?
Disregard, this is working.