matteo-convertino / otpmanager-nextcloud

Nextcloud app that allows you to manage your OTP (TOTP/HOTP) codes easily
GNU Affero General Public License v3.0
26 stars 5 forks source link

Password not working on iOS app? #55

Open tromlet opened 1 month ago

tromlet commented 1 month ago

Hi.

It's me again. I was also trying out the iOS app, and my password to access the OTP Manager didn't work after signing into my Nextcloud instance. My password IS pretty long, 34 characters, so I'm not sure if it's a length limit or whatever but I have verified and I am typing exactly the password that I type into web Nextcloud on my computer as I typed into the iOS app here, and I get the following error message:

"You need to set up a password before. Please update the OTP Manager extension on your Nextcloud server to version 0.3.0 or higher."

We are currently using OTP Manager 0.5.4, sooo...

asedinkin commented 2 weeks ago

Hi. It's true. Last versions of OTP Manager doesn't work with current latest version for iOS (v. 1.3.2).

Under the hood, the problem is in the version of the API used by the application. When using the application for iOS, it makes HTTP POST requests to "/index.php/apps/otpmanager/accounts/sync" and "/index.php/apps/otpmanager/password/check", receiving errors 405 and 404 respectively. In the Android application, in which everything works correctly, requests are made to "/ocs/v2.php/apps/otpmanager/accounts/sync".

Please fix the application for iOS or just write how else to fix the OTP manager for iOS.

asedinkin commented 2 weeks ago

Just checked. This is a copy of https://github.com/matteo-convertino/otpmanager-nextcloud/issues/45