Is there a way to allowed logins to external/plugin types only?

You can go to /users/admin-login to login with email if you get locked out.