© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Custom error when user has a Google account but no credentials account. - Better Auth
BA
Better Auth
•
9mo ago
•
5 replies
kubas
Custom error when user has a Google account but no credentials account.
Hey all
! I have a small problem with my app
.
How can I show the user that they can
't log in with email
/password because they already created an account using Google
?
Thanks
!
Solution
this could be achieved with db hooks
https://www.better-auth.com/docs/concepts/hooks
Hooks | Better Auth
Better Auth Hooks let you customize BetterAuth
's behavior
Jump to solution
Recent Announcements
Similar Threads
Retrieving the linked google `email` for credentials registered user
BA
Better Auth / help
12mo ago
Account linking social -> credentials
BA
Better Auth / help
11mo ago
Let user choose Google Account with expo client?
BA
Better Auth / help
11mo ago