Can't connect when api on different subdomains / domains
Hello, I have my api running on api.domain.io and my app on app.domain.io
On my configuration I have
On client side I have
And on my API :
I send a magic link that set cookies with domain api.domain.io but when I click on the magic link that didn't connect me and cookies disappear I don't understand why
My API is with hono and my app is with nextjs
Please help 🙏
1 Reply
Also try with baseUrl and this :
Same problem 😄