Site setting to disable local sign ups

ask.discourse.com tells me

this combination would be a solution to the problem described in my previous post, if it works

i believe it found this information from Invite Only and Auth skip create confirm settings show signup popup when using together

however i note that bug report is for an Oauth2, not the OpenID connect plugin