What's the best way to require existing users (google oauth / email) to use SSO to sign in?

Was thinking I would raise an exception in my handle_new_user trigger but that seems to come back as an opaque "Database error saving new user"
Was this page helpful?