nextcloud / nextcloud/notes-ios

Can't Log In (Unauthorized Access Error): `App token login name does not match`

Open
#54 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs info
Dominant language
Swift
Stars
73
Forks
22
PR merge metrics
No merged PRs in 30d

Description

Hey, I'm trying to log in to the Nextcloud Notes iOS app and getting an error not allowing me to log in.

iOS Version: 17.03
App Version: 4.2.0
Nextcloud Version: 27.1.2

After logging in, I get an "Unauthorized Access" error and the following Nextcloud log(s):

[no app in context] Error: App token login name does not match

GET /index.php/apps/notes/api/v0.2/notes
from xxx.xxx.xxx.xx at 2023-10-25T17:43:53+00:00

`[core] Warning: Login failed: 'Minami+Hasaki' (Remote IP: 'xxx.xxx.xxx.xx')

GET /index.php/apps/notes/api/v0.2/notes
from xxx.xxx.xxx.xx at 2023-10-25T17:43:53+00:00`

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 failure in the Nextcloud Notes iOS app with the reported iOS, app, and Nextcloud versions. Trace the request to /index.php/apps/notes/api/v0.2/notes and compare the app token login name with the authenticated account. Done means login succeeds without the unauthorized-access error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.