Hi, I have a simple Kratos API question: does the ...
# talk-kratos
g
Hi, I have a simple Kratos API question: does the
/whoami
endpoint return a session only if the current session isn’t expired? (I.e. do I need to check the expiry of the sessions I retrieve from this endpoint?) Thanks!
d
you don’t need to check. Whoami returns a 401 if there is no valid session