How to use adminRoles?
I tried to use custom adminRoles like this
But when I set my role to admin in my database.
better-auth don't think I'm admin.
Did I do anything wrong?
4 Replies
Also want to ask about custom roles.
I tried to use set-role.
But that only allow
admin
and user
What endpoints are you hitting which says you're not an admin? Can you show me that code?
I got 403 when my role is owner
yeah I would like to see that code
the code of you using authClient or auth.api?