Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Account access permissions

Open
#391 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, java

Research direction

Reproduce the authentication attempt on the AOSP 7.1.1 emulator and start from the AccountImporter log message, checking how the listed account permissions are evaluated. Done means the permission error no longer appears and SingleSignOn authentication succeeds on the affected Android version.

Written by the indexing model from the issue text.

Description

Hello.
I am developing NextcloudServices app. Recently one of users have experinced issue with logging-in via SingleSignOn(issue #22) on older Android version. So I have added permissions connected with accounts:

    <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
    <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
    <uses-permission android:name="android.permission.USE_CREDENTIALS" />

But still in the emulator(AOSP 7.1.1) app shows the error about permissions. In the log following error is displayed whenever authentication is attempted:

2021-10-05 14:34:41.220 2512-2512/com.polar.nextcloudservices E/com.nextcloud.android.sso.AccountImporter: Permission not granted yet!
Dominant language
Java
Stars
74
Forks
36
Avg merge
1d 6h
Merged PRs (30d)
15

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.

More from nextcloud/Android-SingleSignOn

All issues in nextcloud/Android-SingleSignOn

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.