Settings reset when after authentication failure

4 posts

Join the discussion
Sign in to create topics and reply. No account yet? Registration is free.
#1

Settings reset after authentication failure

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.).

#2

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

#3

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

#4

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