I think, at a first quick look (cos I gotta get home soon!) - it maybe needs being able to get some ClientWebSocketOptions in, for instance, GraphQL.Client.Http.GraphQLHttpWebSocket.InitializeWebSocket() ...?
[I'm not familiar with .NET WebSockets]
Confirmed. If I add
nativeWebSocket.Options.ClientCertificates.Add(new X509Certificate2("My-cert-and-key.pfx", "mypassword"));
then the authentication succeeds. I think the websockets layers therefore need a way for the app to be able to pass these options down? (Possibly 'UseDefaultCredentials' too)
Originally posted by @chelliwell in #114 (comment)