matteo-convertino / otpmanager-app

Nextcloud app that allows you to manage your OTP (TOTP/HOTP) codes easily
24 stars 7 forks source link

Subdirectory part in URL not taken into account #11

Closed felsss closed 11 months ago

felsss commented 11 months ago

Hello,

My NC server URL contains a subdirectory, for example https://example.org/nextcloud/ It seems the subdirectory /nextcloud is not taken into account when first using the android app. I can see in apache logs that the requested URL is /index.php/login/v2, without /nextcloud in front of it. Results : the app says that the url is not of a valid NC server. If you need more info to understand or reproduce the issue, feel free to ask. Let me know when the issue if fixed, or if some testing is needed.

matteo-convertino commented 11 months ago

Thank you for pointing out this problem. I had not taken into account that the url might contain subdirectories, so I was deliberately (erroneously) ignoring them. I will solve this problem in the next release that I will publish soon.

felsss commented 11 months ago

Great news! and thanks for your quick answer.

matteo-convertino commented 11 months ago

This bug should be fixed with the v1.3.0 release. Feel free to re-open the issue if the problem reappears.