When I'm connected to my Paperless-NGX server via VPN, I'm accessing it via Token, which works well. But when I'm not connected to the VPN, the webserver will respond with 401 (as I'm using HTTP authentication to access it from outside networks). When PaperNext receives the 401 response, it will lose its (connection) settings, and I have to reenter everything again (server address, token, etc.).
Settings reset when after authentication failure
4 posts
Björn Ternes
Team
Re: Settings reset after authentication failure
Hi Reiner,
There is no special clearing logic for 401 or 403. I think this bug is related to the one referenced here.
I am looking into it. The intended behavior is that, in 4xx cases, PaperNext should offer a retry or a "re" sign-in flow.
Thanks,
Björn
Björn Ternes
Team
Re: Settings reset after authentication failure
Good morning,
I changed the logic how expired sessions or error codes are handled. Should fixed by version 0.5.10.
Thanks
Björn
Re: Settings reset after authentication failure
Hi Björn,
I just tested it and it's working as expected now. Thanks for fixing it!
Regards,
Reiner