NextcloudServices icon indicating copy to clipboard operation
NextcloudServices copied to clipboard

allow access in your user accounts?

Open manu-p opened this issue 4 years ago • 8 comments

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?

manu-p avatar Sep 24 '21 09:09 manu-p

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.

0xf104a avatar Sep 24 '21 13:09 0xf104a

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.

manu-p avatar Sep 24 '21 17:09 manu-p

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.

0xf104a avatar Sep 25 '21 21:09 0xf104a

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

manu-p avatar Sep 26 '21 07:09 manu-p

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

manu-p avatar Oct 05 '21 11:10 manu-p

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.

0xf104a avatar Oct 05 '21 11:10 0xf104a

Hi @Andrewerr , anything new since december? Thanks

manu-p avatar Feb 25 '22 08:02 manu-p

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

0xf104a avatar Feb 28 '22 20:02 0xf104a