nextcloud / nextcloud/Android-SingleSignOn
Account access permissions
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 74
- Forks
- 36
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 17
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!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
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.
Assessment
- Tech stack
- android, java
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100