Extend JWT token expiration time

I noticed that the JWT tokens received for social login via Google, Twitter or Discord are valid for only 24 hours.
Is there a way to extend the expiration time, or use a refresh token to retrieve a new valid JWT token after it expires?

Originally posted by: sagilefl

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/865

Hey, you can use your own social logins by creating a custom verifier to have your own custom configuration for social logins. Please refer to this doc to do so: https://web3auth.io/docs/developer-dashboard/setup-custom-authentication

Originally posted by: himanshuchawla009

Hey can you please refer to this docs: https://web3auth.io/docs/server-side-verification/social-login-users#sample-idtoken-payload
You can use "exp" param to at the jwt expiration time as below:

Originally posted by: rinzler99