nfo / gmail_xoauth

Get access to Gmail IMAP and STMP via OAuth, using the standard Ruby Net libraries
http://rubygems.org/gems/gmail_xoauth
The Unlicense
143 stars 30 forks source link

Does this library using out-of-band (OOB) requests? #67

Open tepperly opened 2 years ago

tepperly commented 2 years ago

I got an email from Google saying that my account used the OAUTH OOB approach sometime in the past. I experimented with a bunch of libraries before going with gmail_xoauth, so I don't know if gmail_xoauth uses OOB or not. Can you indicate whether 0.4.2 is compliant with Google's no OOB starting 3-Oct-2022?

https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html

Thanks,

Tom

nfo commented 2 years ago

This library does not handle the login/token process. So it has nothing to do with OOB. Still, the readme suggests using oauth2.py, with uses the OOB approach: https://github.com/google/gmail-oauth2-tools/blob/master/python/oauth2.py#L130