I am using the following for both sign up/login flows from app.localhost and {subdomain}.localhost
import { RegisterLink, LoginLink } from "@kinde-oss/kinde-auth-nextjs/server";
When I removed KINDE_COOKIE_DOMAIN, the app.localhost:300/login works properly, but when I add it, I can't sign in and I get logged out as soon as I register.