Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Custom error when user has a Google account but no credentials account. - Better Auth
BA
Better Auth
•
7mo 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
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
Retrieving the linked google `email` for credentials registered user
BA
Better Auth / help
11mo ago
Account linking social -> credentials
BA
Better Auth / help
10mo ago
Let user choose Google Account with expo client?
BA
Better Auth / help
9mo ago