Auth in context is initially null leading to TRPCClientError: UNAUTHORIZED
im trying to get some images in my server component using a protected procedure
problem is that the session is initially null (using nextauth5) in my context which leads to a TRPCClientError: UNAUTHORIZED. then another call is made and the session exists
1 Reply
That exact same thing is happening to me
But I'm using better-auth
Did you solved this?