Client hooks always return 404
Hey guys any idea why using the organization hooks return a 404?
it works fine server side
5 Replies
im using nextjs 15 btw
@admin can anyone help please
could you share the file where you initated the auth client
im following the nextjs example from the repo
this is in /lib/auth/client
you're importing
createAuthClient
from "/client". You should import it from "better-auth/react"
it works!!
thank you so much