[GH-ISSUE #905] Improve wrong credential feedback #587

Closed
opened 2026-02-25 22:37:34 +03:00 by kerem · 3 comments
Owner

Originally created by @keponk on GitHub (Jul 7, 2021).
Original GitHub issue: https://github.com/floccusaddon/floccus/issues/905

I noticed this while installing on a new browser. When configuring a new folder and try to sync and the error message is:

{"status":"error", "data":"nextcloud API insufficient permissions"}

This clearly suggests a permission issue was at hand. After going through the extensions permissions and app permission on the nextcloud admin account, still the error continued. This took some time plus trying to find possible permission config setups online. All so that at the end the issue was wrong password was put in the extension settings.

A few possible solutions come to mind:
a) Update the error message to specifically inform "Wrong credentials"
a.1) Show error message in plaintext, not JSON.
b) Use app auth method for nextcloud.

Originally created by @keponk on GitHub (Jul 7, 2021). Original GitHub issue: https://github.com/floccusaddon/floccus/issues/905 I noticed this while installing on a new browser. When configuring a new folder and try to sync and the error message is: ``` {"status":"error", "data":"nextcloud API insufficient permissions"} ``` This clearly suggests a permission issue was at hand. After going through the extensions permissions and app permission on the nextcloud admin account, still the error continued. This took some time plus trying to find possible permission config setups online. All so that at the end the issue was wrong password was put in the extension settings. A few possible solutions come to mind: a) Update the error message to specifically inform "Wrong credentials" a.1) Show error message in plaintext, not JSON. b) Use app auth method for nextcloud.
Author
Owner

@github-actions[bot] commented on GitHub (Jul 7, 2021):

Hi @keponk! This issue is being automatically closed because it does not follow the issue template.

<!-- gh-comment-id:875698779 --> @github-actions[bot] commented on GitHub (Jul 7, 2021): Hi @keponk! This issue is being automatically closed because it does not follow the issue template.
Author
Owner

@marcelklehr commented on GitHub (Jul 14, 2021):

Thanks for reporting this. It appears to be an upstream issue, that I'll happily work on: https://github.com/nextcloud/bookmarks/issues/1602

<!-- gh-comment-id:879807929 --> @marcelklehr commented on GitHub (Jul 14, 2021): Thanks for reporting this. It appears to be an upstream issue, that I'll happily work on: https://github.com/nextcloud/bookmarks/issues/1602
Author
Owner

@github-actions[bot] commented on GitHub (May 24, 2023):

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

<!-- gh-comment-id:1560337265 --> @github-actions[bot] commented on GitHub (May 24, 2023): This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/floccus#587
No description provided.