[CSHARP-773] Handle string SASL return payload value Created: 06/Jul/13  Updated: 11/Mar/19  Resolved: 06/Apr/15

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.8
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Scott Hernandez (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: authentication, sasl
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to JAVA-865 SASL auth payload is Binary (type 0/3... Closed

 Description   

https://github.com/mongodb/mongo-csharp-driver/blob/master/MongoDB.Driver/Communication/Security/SaslAuthenticationProtocol.cs#L94

See c++ impl: https://github.com/mongodb/mongo/blob/master/src/mongo/client/sasl_client_authenticate.cpp#L56



 Comments   
Comment by Scott Hernandez (Inactive) [ 06/Jul/13 ]

Robert, that may be true, and I think it is more SASL, but can't hurt to handle both just in case the impl. changes. I would consider this minor because I suspect everything works fine now.

Comment by Robert Stam [ 06/Jul/13 ]

I remember hearing once that the server always responds with payloads in the same format (binary or base 64) that the driver sent.

So if the C# driver always uses binary payloads won't the server always respond with binary payloads? In which case this change is not needed.

Generated at Wed Feb 07 21:37:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.