Admin API tools (without authentication)
Hey guys, quick question i couldn't find the answer to in the docs:
I want to get an instance of the admin client that doesn't require authentication, so I can have a CLI to manage users. I.e creating users / setting passwords etc.
Or i just need access to the underlying logic that better-auth uses to CRUD users
Any ideas on how to do that?
1 Reply
There isn't a "native" way to do this, so we might need to find so me workarounds to achieve this.
You might just need to make a temp account for the purpose of your CLI, and make that acc an admin.