Why isn't my cookie being stored?

I have no idea why my cookie is not being stored, I have done all the steps, like adding cors, doing the x-forwaded-proto, but its still not working, is it the way im doing it that is wrong, i’ll provide some screenshots below: