daper / nextcloud-passwords-app

A mobile app based on react-native for Nextcloud Passwords App.
GNU General Public License v3.0
67 stars 14 forks source link

OCA\Passwords\Exception\ApiException: Authorized session required #114

Open AE720 opened 2 years ago

AE720 commented 2 years ago

I'm going to assume this app doesn't support E2E encryption MFA given my research. I am able to sign in just fine but I just get a blank screen and the logs have the following:

OCA\Passwords\Exception\ApiException: Authorized session required
/var/www/html/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php - line 97:

OCA\Passwords\Middleware\ApiSessionMiddleware->beforeController()

/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 118:

OC\AppFramework\Middleware\MiddlewareDispatcher->beforeController()

/var/www/html/nextcloud/lib/private/AppFramework/App.php - line 156:

OC\AppFramework\Http\Dispatcher->dispatch()

/var/www/html/nextcloud/lib/private/Route/Router.php - line 302:

OC\AppFramework\App::main()

/var/www/html/nextcloud/lib/base.php - line 1006:

OC\Route\Router->match()

/var/www/html/nextcloud/index.php - line 36:

OC::handleRequest()

and

'Error "Authorized session required" in OCA\Passwords\Controller\Api\FolderApiController::list'

Everything is from scratch. Reinstalling and clearing data changed nothing.

EDIT: I misspoke, I didn't mean E2E, I meant MFA. Sorry about that.

kreutpet commented 2 years ago

can confirm that issue is with NC 24.0.4 I started to introduce encryption and then passwords are not synced to the android app the app was working perfectly

With alternative app it is working app https://play.google.com/store/apps/details?id=de.jbservices.nc_passwords_app