How can I make the check function work with httpOnly
For my authentication, the api makes use of cross-site httpOnly cookies, which means I cannot check if a user is logged in on the client side. The way that this is checked is by hitting the /api/account/info endpoint, which either returns a 200 if the user is logged in or a 401 when the user is logged out. However the authProvider makes a server side request to the api, which makes it so the cookies are not passed along in nextjs. How can I fix this?
