ios icon indicating copy to clipboard operation
ios copied to clipboard

Users cannot login to version 7.0.1 even though logs show Login Successful

Open CreativePR opened this issue 5 months ago β€’ 18 comments

Using Nextcloud AIO version Version [Nextcloud Hub 10 (31.0.6)

And Nextcloud iOS 7.0.1 - users are now not able to achieve a successful login to the APP.

With a fresh install of the app, they enter the server address and come to the login screen

Enter username and password

Click on Grant Access then it goes back to login screen and this message in logs

"message": "Login successful: "REMOVED"", "userAgent": "Mozilla/5.0 (iOS) Nextcloud-iOS/7.0.1", "version": "31.0.6.2",

Waited and no change

After tried again and it said Access forbidden - State Token Missing

and this message in logs

"message": "Logout occurred", "userAgent": "Mozilla/5.0 (iOS) Nextcloud-iOS/7.0.1", "version": "31.0.6.2",

If selecting Log in with a device (for accounts that have that set up) - entering the user name and clicking Log in - nothing happens - no indications - nothing.

iOS version on phone is 18.5 (22F76)

Tried to reboot phone and same thing

Seeing this with multiple users

CreativePR avatar Jul 08 '25 12:07 CreativePR

The only way I could get an iOS client to successfully login with this new version was to open the NC account on a computer or Safari, go to security tab in NC, generate an app password and scan that QR code (have to print off the QR code or show it on another device ) with the Nextcloud iOS app or using the created app password.

Trying to login with the valid credentials of the account or using an already signed in account on Nextcloud Talk (the popup to do this also comes up to try this in the Nextcloud iOS app) does not work either.

CreativePR avatar Jul 08 '25 17:07 CreativePR

Scanning QR code threw up the same error for me. Server version 31.0.6 Docker AIO, iOS app version 7.0.1

Sekanato avatar Jul 09 '25 20:07 Sekanato

Same problem: After upgrading to 7.x, the Nextcloud iOS app was logged out again – something that has happened far too often after updates (a really frustrating experience).

This time, however, I was unable to log in again using the normal login flow. There’s no visible error message – after entering the 2FA code, I'm simply redirected back to the username/password prompt (I am now using v7.0.1).

However, creating an app password and scanning the QR code worked and allowed me to log in.

The login attempts did not create any log entries in Nextcloud server v31.0.7.

Whissi avatar Jul 11 '25 18:07 Whissi

Any update on this issue?

CreativePR avatar Jul 13 '25 11:07 CreativePR

Still no dice on logging in through the app. Regardless of the method (TOTP, Fido token, App Password, etc.) Server version 31.0.6, iOS app 7.0.2

image

image

image

Sekanato avatar Jul 16 '25 00:07 Sekanato

Any update on this issue?

CreativePR avatar Jul 21 '25 18:07 CreativePR

App updated to 7.0.5 Same result with TOTP. Client registers on server end and see screenshots above on the phone.

Edit: QR code also doesn't work with the same error message. πŸ˜“

Edit 2: Funnily enough, also cannot log in with iOS Talk 21.1.1 app. As in I didn't use it before and can't even log into the Talk app itself. With no error message on the client side at all. Just back to login screen immediately. Will make an issue in their repo later today. May be something linked?

Sekanato avatar Jul 25 '25 22:07 Sekanato

lots of these in the logs

"POST /login/v2/poll?token=[redacted] HTTP/2.0" 404 545 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/7.0.5" "-" 0.036

the account backend is ldap so i can't make QR codes can i?

why a 404?

edit: logging in with an app password worked!

xandris avatar Jul 26 '25 19:07 xandris

7.0.6 – no change on client side. Still can't log in.

Sekanato avatar Jul 30 '25 23:07 Sekanato

app version 7.0.6 server version 31.0.7 PHP 8.3.8 I see lots of 405 / method not allowed on the post requests. [31/Jul/2025:19:22:28 +0200] "POST /index.php/login/v2/poll?token=<token> HTTP/2.0" 405 0 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/7.0.6"

pophey avatar Jul 31 '25 17:07 pophey

Still having this issue on

Nextcloud Hub 10 (31.0.7)

Nextcloud iOS 7.0.7

CreativePR avatar Aug 10 '25 12:08 CreativePR

Also still cannot login. App version 7.1.1 image

Sekanato avatar Aug 18 '25 20:08 Sekanato

Problem still exists on 7.1.2.2

Any updates or why does this problem exist??

CreativePR avatar Aug 23 '25 10:08 CreativePR

Problem still exists - version 7.1.3

CreativePR avatar Sep 10 '25 08:09 CreativePR

Tried downgrading to 7.0.6 and the problem exists there. As I mentioned in my previous post, the problem exists in the most current version as well.

CreativePR avatar Sep 16 '25 03:09 CreativePR

Any update on this? Users still cannot login to the iOS app unless they create an app password

Version 7.1.7 connecting to Nextcloud AIO 31.0.9

CreativePR avatar Oct 28 '25 14:10 CreativePR

Any update on this issue, please?

CreativePR avatar Nov 11 '25 13:11 CreativePR

Checking in again to see if this is going to ever be fixed? It's still not working Users can only login to iOS app if they create an app password.

CreativePR avatar Nov 21 '25 02:11 CreativePR