Disable email fields (email login) i am only wanting to allow access-key auth
Disable email fields (email login) i am only wanting to allow access-key auth any idea what the best approach is?
1 Reply
You could use a before hook to abort the login/ signup: https://www.better-auth.com/docs/concepts/hooks#before-hooks
Hooks | Better Auth
Better Auth Hooks let you customize BetterAuth's behavior