User authentication via graphql and Google provider

Hi all! In strapi i can register user using this mutation


gql`
  mutation RegisterUser($input: UsersPermissionsRegisterInput!) {
    register(input: $input) {
      jwt
      user {
        id
        username
        email
        name
      }
    }
  }
`

But how can I do the same but through the Google provider?

System Information
  • Strapi Version: v4
  • Operating System: macos
  • Database: postgresql