nextcloud / nextcloud/ios

Client does not reauthenticate when token becomes invalid

Open
#3,278 2 comments 1 reaction 2 assignees View on GitHub

@mpivchev is already working on this.

Since Jan 30, 2025.

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

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. Connect the iOS app to a Nextcloud instance
  2. Go the security settings and delete the app password of the client
  3. Continue to use the client
Expected behaviour

The client asks to reauthenticate with login flow or at least show an error.
It should not send more requests to the server

Actual behaviour

The client continues to send requests which fail to authenticate with a 401, this then leads to brute force protection at some point.

Logs
If applicable, you can post the iOS app or server logs (removing any sensitive information).
Reasoning or why should it be changed/implemented?
Environment data

iOS version: 18.2.1

Nextcloud iOS app version: 6.2.3.1

Nextcloud server: daily

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.