billions-minister-2901
04/12/2024, 7:54 PMchilly-king-10285
04/12/2024, 7:54 PMchilly-king-10285
04/12/2024, 7:54 PM/oauth2/grant/jwt/max_ttl
setting using the Ory CLI. Here is an example of how to do it: bash ory patch oauth2-config \ --replace "/oauth2/grant/jwt/max_ttl=1h"
This command sets the maximum time to live (TTL) for the JWT to 1 hour. You can replace 1h
with the desired lifespan for your JWT. For more details, you can refer to the [Ory documentation](https://www.ory.sh/docs/hydra/guides/jwt#configuring-jwt-validation-parameters).