Unfortunately Google are turning off application specific passwords this autumn. <a href="https://support.google.com/a/answer/14114704?hl=en">https://support.google.com/a/answer/14114704?hl=en</a><div><br></div><div>However when I use xoauth2 it doesn't require me to reauthenticate every few days, so something must be going on differently for Marc.</div><div><br></div><div>I don't actually use this method most of the time as I let the python app offlineimap. This syncs my mail to a small Maildir repository and alpine patched for Maildir support accesses that locally with no auth. offlineimap also doesn't require constant reauthentication.</div><div><br></div><div> - Damion<br><br>On Sunday 19 May 2024, Carlos E. R. via Alpine-info <<a href="mailto:alpine-info@u.washington.edu">alpine-info@u.washington.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2024-05-19 01:59, Marc Lytle via Alpine-info wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all,<br>
<br>
I have set up Alpine with Gmail and I'm able to successfully connect to the Gmail account and access/send email. The issue is that this just stops working after a couple of days. This is coming from a WSL environment (Ubuntu). I have the master password set up and if necessary I can open the links provided in Alpine and work through the steps to re-auquthorize it. The weird thing is that each time I'm pulling down the exact same token from Gmail. The Google account info says that the access "Does not expire" but it still stops working. I have a master password file set up.<br>
<br>
If I were to main user of this account, then this would be an annoyance and nothing more, but this is set up for a blind woman who is still learning to interact with the screen reader. She is not able at this time to go through those steps. So, if there is a way to keep the authentication going on Alpine's end, I'd love to hear it.<br>
<br>
Please let me know if you have any questions or suggestions.<br>
</blockquote>
I don't have personal experience with that method; I use a different one. While someone with experience with your method comes, I'll explain mine.<br>
<br>
I use gmail application passwords. The idea is that you generate in the web interface of Google a password for each application you use, in this case Alpine. This password is random, longish, and seems to be permanent. But it requires that you have that second factor auth thing enabled.<br>
<br>
<<a href="https://support.google.com/accounts/answer/185833?hl=en" target="_blank">https://support.google.com/ac<wbr>counts/answer/185833?hl=en</a>><br>
<br>
<br>
-- <br>
Cheers / Saludos,<br>
<br>
Carlos E. R.<br>
(from 15.5 x86_64 at Telcontar)<br>
<br>
</blockquote></div><br><br>-- <br>Damion Yates - <a href="mailto:damion.yates@gmail.com">damion.yates@gmail.com</a><br>London, England<br>