There is a site setting in Discourse which allows you to disable the local login/registration system, and force people to use OAuth2. I think that should resolve your problem (anyone logged into discourse must have already registered on the identity provider)