Everyone let me ask: "I create a login by listening to set-cookie with value jwt when responding and attaching it to cookie. But in v0 it is not there. I have to publish it for the cookie to be saved. Is there a way to save it when it is still in chat v0?
If you check the network tab and look at your request, you should see the set-cookie header in the response. Chrome will put a little warning badge beside it if it doesn’t accept the cookie, which is most likely because the cookie has a certain domain it expects and when you’re in the v0 preview it’s running on a different domain. That message should give you enough info to fix the cookie settings to use a domain config that works in v0