matthw g baller
matthw g baller
TTCTheo's Typesafe Cult
Created by Trader Launchpad on 1/28/2024 in #questions
Why is there no SessionProvider wrapping app in next13+ app router boilerplate?
from my understanding, it's wrapped in SessionProvider to make sure session data is accessible to any component hope this helps :)
7 replies
TTCTheo's Typesafe Cult
Created by Mattèo on 1/16/2024 in #questions
How to authenticate users on a dynamic sudomain (next-auth)
my first initial thought would be cookies depending on how your cookies are set, i believe they aren't by default set to cover subdomains in your next-auth.config.js, change the sameSite setting to none, secure to process.env.NODE_ENV === 'production' and domain to '.localhost' and on the off chance it is not the cookies then make sure your NEXTAUTH_URL is set correctly
5 replies