<@U04UQ68083H> What is the default Kratos session ...
# ory-copilot
g
@chilly-king-10285 What is the default Kratos session lifespan?
b
A message from kapa.ai
Based on the knowledge sources provided, I don't have specific information about the default Kratos session lifespan. The documents mention that session lifespan is configurable, but they don't state a default value. However, I can provide some relevant information about session lifespan in Ory Kratos: 1. Session lifespan is configurable and can be set in the Ory Identities configuration. 2. The lifespan can be expressed in hours, minutes, and seconds. For example, it can be set to values like
72h
,
10m
,
12s
, or
1h13m3s
. 3. You can configure the session lifespan using either the Ory Console or the Ory CLI. For example, to set the session lifespan to 30 days (720 hours), you would use a configuration like this:
Copy code
yaml session:   lifespan: 720h
If you need to know the specific default value or want to change the session lifespan, you can check your current configuration or set it according to your needs using the methods described in the [Session lifespan documentation](https://www.ory.sh/docs/kratos/session-management/session-lifespan).