21 Replies
even tried this but it doesnt work
@nikatune
are you sure ur role is admin ?
now it is
but i still get
can i see your auth-client file?
can you try it like this?
it should work
@Ping any idea?
i literally gotta finish my whole site by tomorrow and this is causing me issues lmao
maybe can you try deleting your cookies and login again?
i did that 20 times
if it matters by any chance, im using authClient inside server component
wait what???
can u try it with auth.api ?
what?
can u try it on server side
wouldnt it be the same?
i cant createUser with { auth } if you mean that
well, it works when putting it into client component
🙂
thanks much for help tho
np sir
im having the same issue. i want to create test users for cypress but the server side auth.api.createUser returns a type error
Can you show me what the type error looks like?
I figure it out lol
I was using the client plug-in
Not the server plug-in ðŸ¤