Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
apiKey plugin `minimumNameLength` is not respected - Better Auth
BA
Better Auth
•
8mo ago
•
3 replies
Karan
apiKey plugin `minimumNameLength` is not respected
apiKey plugin option of
minimumNameLength
minimumNameLength
works when there
's at least one string character
. But it does not work when the
/api-key/create
/api-key/create
—
body.name
body.name
field is an empty string or when
body = {}
body = {}
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
Trusted origins wildcards not respected
BA
Better Auth / bug-reports
8mo ago
SERVER_ONLY_PROPERTY on apiKey plugin even though the call is using the server instance
BA
Better Auth / bug-reports
3mo ago
Custom Plugin is not type safe.
BA
Better Auth / bug-reports
11mo ago
Admin plugin : listUsers total is not correct
BA
Better Auth / bug-reports
11mo ago