The default expiration time for JWT and access tokens is 3600 seconds. You can change this value in the Token Expiration (in seconds) field on the application. To do so:
In the Navigation Sidebar, expand Admin, then SSO Connections, and click OAuth.
Open the Application Details for the application and click the Edit button.
On the General tab, you can find the setting in the OAuth Application Details section.