daanish
daanish
Explore posts from servers
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
Do you remove async in page.tsx
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
also you are using header as await header() but from nextjs 15 header are async to use header try this fetchOptions: (await header())
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
don't use in page.tsx and try it
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
try using async in layout.tsx and pass it as props to child
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
ok but you are using async in page.tsx
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
did you try auth.api.getSession()
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
is it https enabled
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
in prod or localhost
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
but it created four cookie in browser client
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
my frontend is roro-ai.com and backend is at backend.roro-ai.com
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
yes
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
i added crossSubDomain
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
for me problem is solved
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
yes, its just clears the cookie after login to redirect.this prod link https://roro-ai.com/auth/login
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
no i tried in local developement with useSecureCookie to true but i doesn't work
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
yes
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
is true
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
problem is because of useSessionCookie at prod
142 replies
BABetter Auth
Created by Felix on 4/10/2025 in #help
Session cookie not working in production deployment
this is my prod url you would check it https://roro-ai.com/auth/login
142 replies