nextcloud / nextcloud/ios

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

Open
#3,580 19 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the login and device-login flows with Nextcloud iOS 7.0.1 against Nextcloud Hub 10 (31.0.6), using the reported logs and iOS 18.5 environment. Trace where the successful login returns to the login screen and where the state token is lost. Done means affected users can complete both applicable login flows without the forbidden or no-response behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.