paperless-mobile icon indicating copy to clipboard operation
paperless-mobile copied to clipboard

[BUG] No login to the server possible

Open HHZZUUJH opened this issue 2 years ago • 14 comments

Hello,

YunoHost version: 11.1.21.4 (stable) Paperless-ngx for YunoHost version: 1.16.2~ynh2 user to login: superuser

indicated error: The request returnedan invalid status code of 302

Thanks. Best regards

HHZZUUJH avatar Jul 05 '23 13:07 HHZZUUJH

Hi, sorry for the late reply. What URL are you trying to log in to paperless with? The url should NOT include the /api/. Otherwise, it may be an issue with the app currently not redirecting.

astubenbord avatar Jul 08 '23 13:07 astubenbord

Hello, thank you very much for the answer. I use the URL without /api. It is also sud my view a problem with the redirection.

HHZZUUJH avatar Jul 08 '23 13:07 HHZZUUJH

Right, I had to manually enable redirects in the http client. I'll publish an update today

astubenbord avatar Jul 08 '23 15:07 astubenbord

Hey, sorry, I've been pretty busy lately, might take a few more days until I get to releasing the update :/

astubenbord avatar Jul 15 '23 12:07 astubenbord

Hey, no problem. Now already many thanks for it

HHZZUUJH avatar Jul 15 '23 15:07 HHZZUUJH

Could you check if this is fixed in the latest version (3.0.1, available here on GitHub or Google Play open Beta)?

astubenbord avatar Oct 07 '23 12:10 astubenbord

Thank you for the new information. I don't get any error message anymore with the mentioned version. The authentication process does not complete for me. But that is because of my system configuration. I use paperless-ngx (server) on a Yunohost. There I have to log on to the Yunohost domain first, and then I am redirected via SSO to the domain of the web server paperless-ngx. This works on my smartphone in the browser. Is it possible to realize this two-step login through paperless-mobil?

HHZZUUJH avatar Oct 27 '23 13:10 HHZZUUJH

I've tried integrating solutions like authelia before and didn't get it to work unfortunately.

astubenbord avatar Oct 27 '23 19:10 astubenbord

Maybe i have the same problem. I installed Paperless-ngx 2.1.3 and used the app version 3.1.8. The last log in the app is:

2023-12-26 11:29:36.960	DEBUG   --- [      AuthenticationCubit] - login                    : Trying to log in jens@pl***de...
2023-12-26 11:29:36.961	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Adding new user jens@pl***de..
2023-12-26 11:29:36.961	DEBUG   --- [      AuthenticationCubit] - _addUser                 : Fetching bearer token from the server...

More info in: https://github.com/astubenbord/paperless-mobile/issues/386

jedie avatar Dec 26 '23 10:12 jedie

Same here. I use paperless-ngx 2.3.3 behind a SSO (authentik) and app version 3.2.0.

2024-01-19 16:17:25.908 DEBUG   --- [      AuthenticationCubit] - login                    : Trying to log in joni@pa***in...
2024-01-19 16:17:25.909 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Adding new user joni@pa***in..
2024-01-19 16:17:25.909 DEBUG   --- [      AuthenticationCubit] - _addUser                 : Fetching bearer token from the server...

jon-alamo avatar Jan 19 '24 15:01 jon-alamo

Any news here?

jedie avatar May 14 '24 06:05 jedie

I have the same problem is there any update?

vednolacni avatar Oct 18 '24 05:10 vednolacni