Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow access in your user accounts? #22

Open
manu-p opened this issue Sep 24, 2021 · 8 comments
Open

allow access in your user accounts? #22

manu-p opened this issue Sep 24, 2021 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@manu-p
Copy link

manu-p commented Sep 24, 2021

Hi,

Nice to see there's a solution to get Nextcloud notifications on my LineageOS smartphone where google has nothing to do.

I've been following the instructions I found here but when I tap on "Log in via Nextcloud app", I get the following error message (as translated in english by deepl.com):

In order to use Nextcloud single sign-on on this device, you must allow access in your user accounts

I'd need an explanation, because when I open Parameters > Accounts on my smartphone, I find Nextcloud and in there the username@nextcloud address I used in NextcloudServices which are the correct ones.

What did I miss?

@0x50f13
Copy link
Owner

0x50f13 commented Sep 24, 2021

Hello.
It seems that android system has not granted the app access to read accounts. So could you please tell me your LineageOS version and app source(F-Droid, GitHub, self-built).
Probably it is not your fault: it may be my mistake in defining app permissions or error in Nextcloud authorization library.

0x50f13 added a commit that referenced this issue Sep 24, 2021
They are required for app to find Nextcloud applications in newer versions of API. Lack of them may be reason for issue #22
@manu-p
Copy link
Author

manu-p commented Sep 24, 2021

Thanks for taking care @Andrewerr.

The android system is Resurrection Remix (believe it or not... :D ) Nougat android-7.1.2_r36 on a Samsung J320-FN.

When I tried to get NextcloudServices from F-Droid, I got an error message, it looked like it tried to download the version 7.
So I got it from github as of version 1.0-beta 10.

@0x50f13
Copy link
Owner

0x50f13 commented Sep 25, 2021

Oh, the oldest verison of android I've tested on is 8.1(LOS 15.1). So it is highly likely that this lack of some permissions in manifest. I will try to test it on emulator and if it is not the problem with Nextcloud's authentication library I will fix it in next update.

@0x50f13 0x50f13 self-assigned this Sep 25, 2021
@0x50f13 0x50f13 added the bug Something isn't working label Sep 25, 2021
@manu-p
Copy link
Author

manu-p commented Sep 26, 2021

OK, thanks @Andrewerr. So I'll wait for the next update. ;)

@0x50f13 0x50f13 closed this as completed in 9955c05 Oct 5, 2021
@manu-p
Copy link
Author

manu-p commented Oct 5, 2021

Hi, I can see something's been done to solve this issue. What next?

@0x50f13
Copy link
Owner

0x50f13 commented Oct 5, 2021

Hello. I have tried granting app all permissions connected with accounting, but unfortunately on my emulator(AOSP 7.1.1) it still do not work. So I am going to create issue in repository of Nextcloud's SingleSignOn. Hopefully they will be able to explain how to fix this issue.
By the way it is strange that GitHub closed the issue automatically(have no idea why), so I will reopen it with this comment.

@manu-p
Copy link
Author

manu-p commented Feb 25, 2022

Hi @Andrewerr , anything new since december? Thanks

@0x50f13
Copy link
Owner

0x50f13 commented Feb 28, 2022

Hello @manu-p. Unfortunately as Nextcloud's team which maintains SingleSignOn library do not respond there is still no progress :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants