Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
/admin/set-role API allows setting non existent role values - Better Auth
BA
Better Auth
•
5mo ago
•
1 reply
Hiếu Trần
/admin/set-role API allows setting non existent role values
Hi guys
.
I
'm not sure if this is a bug
, so I want to ask
. I
'm using the
/admin/set-role
/admin/set-role
api to set a role
, and I noticed that i can set a random value and it still return vaild
. Is this correct or not
?
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
EDE in API endpoint set-active
BA
Better Auth / bug-reports
16mo ago
Admin plugin
BA
Better Auth / bug-reports
12mo ago
auth.api.getActiveMember does not have type signature for role
BA
Better Auth / bug-reports
11mo ago
await authClient.admin.removeUser
BA
Better Auth / bug-reports
8mo ago