Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. [Question] How to re-authenticate a paperless-ngx oauth2 mail configuration

[Question] How to re-authenticate a paperless-ngx oauth2 mail configuration

Scheduled Pinned Locked Moved Selfhosted
selfhosted
2 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U This user is from outside of this forum
    U This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    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

    C 1 Reply Last reply
    1
    • U [email protected]

      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

      C This user is from outside of this forum
      C This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      2
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups