Invite to platform without connections fails

Github

Github
API
This fixes an issue where invites to a platform that only used OIDC failed since we are not able to invite a user to those providers.
This fixes an issue where invites to a platform that only used OIDC failed since we are not able to invite a user to those providers.