Disable password login, use oauth only

I would like my users to login with OpenID Connect only and never use a password and not be allowed to set one. Is this possible?