© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Enforce Email Domain Restriction on Google - Better Auth
BA
Better Auth
•
6mo ago
•
10 replies
Hozay
Enforce Email Domain Restriction on Google
How can I achieve this
? I tried doing the example from the documentation
(
https://www.better-auth.com/docs/concepts/hooks#example-enforce-email-domain-restriction
) but that did not work for my case
. I am trying to restrict for only a specific domain
"example
.com
" to be accepted to sign up
.
Thank you
!
Hooks | Better Auth
Better Auth Hooks let you customize BetterAuth
's behavior
Recent Announcements
Similar Threads
Enforce Email Domain Restriction with Google Sign-In
BA
Better Auth / help
13mo ago
Email Domain Validation on Registration
BA
Better Auth / help
11mo ago
Enforce SSO login only
BA
Better Auth / help
2mo ago
How to block log in for specific providers based on email domain?
BA
Better Auth / help
8mo ago