xmppo / go-xmpp

Go XMPP Library (From Yasuhiro Matsumoto and based on the code from Russ Cox)
https://golang.org/
BSD 3-Clause "New" or "Revised" License
526 stars 170 forks source link

Get body for auth success #142

Closed mdosch closed 1 year ago

mdosch commented 1 year ago

I tried to add SCRAM-SHA-1 auth to go-xmpp and got some working prototype but I need to check the server signature in the body of the success message (see https://wiki.xmpp.org/web/SASL_Authentication_and_SCRAM) but I was not able to access it at https://github.com/mattn/go-xmpp/blob/master/xmpp.go#L465 Can you tell me how to access the body and if it's not yet possible, could you make the body of the success message accessible?