Discourse login in dialog offers log in options that do not exist

If you go to Admin > Community > Login & Authentication, do those settings help? For example, OpenID Connect enabled, Enable Google OAuth2 logins, Sign in with Apple enabled and Microsoft auth enabled.

To disable passkeys, see this bit: