Hi,

I’ve been been happily running paperless for a while now, and I’ve even got a few useful mail actions. However, I’m having trouble keeping the oauth2 (gmail) configuration alive past a few weeks. I suspect the refresh token expires, since the configuration stops working. And since I can’t figure out how to re-authenticate, I have to create a new configuration, move all actions to the new one, and delete the old one.

Does anyone know how I can keep the original config and just re-authenticate?

Thanks

  • catloaf@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 days ago

    I’m not familiar with paperless-ngx, but it should really be doing this on its own. If it doesn’t, and you’re not able to edit the config, you should probably open a bug report.

    If you’re just using this to send mail to yourself, though, you can work around it by sending direct to Gmail with unauthenticated SMTP. I have this configured on a couple systems. You might need to hit “not spam” on the messages a couple times because they’ll probably get flagged at first.