Once I login in Kratos UI, I see the following err...
# ory-selfhosting
p
Once I login in Kratos UI, I see the following error.
Authentication Failed The request is not allowed. No CSRF value available in the session cookie.
But this happens only in the first login somehow. Does anyone have idea for the fix?
solved now
m
Hello @purple-winter-31481 can you please share your fix for others that might have the same problem?
p
I was mixing localhost and 127.0.0.1. We should always use 127.0.0.1, right?
m
I see, that is a common issue. You can use either, but you need to use it consistently. So either only localhost or only 127.0.0.1. Thanks for following up!
🙌 1
p
And one quick question, I am now trying to implement logout workflow without BE and getting CORS error even I allowed all origins for Kratos and Hydra. Is it possible with only FE?
m