Using authClient in nextjs server components / actions
Hello everyone! I am working on a side project, and I have set up a turborepo monorepo with a hono backend and a nextjs frontend. I have set up better auth in hono, and the client library in nextjs, and I can successfuly communicate. However, I have found a note that we shouldn't call the authClient on the server. However, I was wondering if it was okay to call it on the server if we're using a separate backend? My reasoning for calling it on the server is to utilize the RSC an SSR. 
For instance, is this a safe thing to do on a route handler level in nextjs?
Could somebody explain? 😕 
Also, for checking the auth state on the next server, is this a safe thing to do?
1 Reply
Yeah just make sure that you're using the auth client imported from 
better-auth/client not better-auth/react