next-auth error (CLIENT_FETCH_ERROR)
Unsure why when loading certain pages, this logs
Found this:
https://stackoverflow.com/questions/76177919/why-do-i-get-next-autherrorclient-fetch-error-messageundefined
@cliveglitch That would make so much sense, I tried implementing that but couldn't. Didn't know it could be the cause of it, will research more tomorrow unless you want to take on this!
@JaviTrek yeah, I also got problems implementing that, but I have the theory that because this is kind of a recent update trpc still doesn't support getServerSession so it could be unsolvable for now, needs a huge workaround or something else.
https://trpc.io/docs/server/context Although considering trpc documentation they show an example with getSession, so maybe the documentation is outdated or that isn't the problem.