OAUTHBEARER support for OSX

2021-03-08 Thread Jonathan Lemon
XOAUTH2 is a google-specific API, and not supported by Apple's sasl2 libraries, but RFC 7628 (OAUTHBEARER) is. However, Apple uses a different sasl2 callback entry. The following patch adds support OAUTHBEARER on OSX, so now connections to gmail will work correctly with a configuration like:

Re: OAUTHBEARER support for OSX

2021-03-08 Thread Oswald Buddenhagen
On Mon, Mar 08, 2021 at 09:02:45AM -0800, Jonathan Lemon wrote: The following patch adds support OAUTHBEARER on OSX, so now connections to gmail will work correctly with a configuration like: [...] seems reasonable. if (process_sasl_step( ctx, rc, NULL, 0, interact, &out, &out