replace the code and check through the kratos api ...
# talk-hydra
l
replace the code and check through the kratos api that this user and password are correct?
s
it would be better to check if the Kratos session cookie is valid using the whoami api
so let the login flow complete through kratos, and then get back to this point with the cookie (or token) the front-end got during login
🙏 1
l
Thank you very muchm I will try it