<@U04UQ68083H> what is the difference between `iss...
# ory-copilot
l
@chilly-king-10285 what is the difference between
issued_at
and
authenticated_at
in the
/whoami
response?
b
A message from kapa.ai
Based on the knowledge sources provided, I can explain the difference between
issued_at
and
authenticated_at
in the
/whoami
response for Ory Kratos: 1. `authenticated_at`: This timestamp indicates when the user was authenticated, i.e., when they successfully logged in or when their identity was verified [Kratos API Reference](https://www.ory.sh/docs/kratos/reference/api). 2. `issued_at`: This timestamp represents when the session was issued. It's usually equal or close to the
authenticated_at
time [Kratos API Reference](https://www.ory.sh/docs/kratos/reference/api). The main difference is that
authenticated_at
specifically refers to the moment of authentication, while
issued_at
refers to when the session was created, which typically happens immediately after authentication. Here's an example from the knowledge sources showing both fields in a session response:
Copy code
json {   "authenticated_at": "2020-09-03T21:32:47.5881038Z",   "issued_at": "2020-09-03T21:32:47.5642688Z" }
As you can see, these timestamps are very close to each other, with
issued_at
being slightly earlier in this case [Docs > Kratos > Self-service > Flows > Registration](https://www.ory.sh/docs/kratos/self-service/flows/user-registration#with-auto-login-on-registration).