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

Single Sign-on not working with Android 7 #81

Closed
croulibri opened this issue May 17, 2019 · 12 comments
Closed

Single Sign-on not working with Android 7 #81

croulibri opened this issue May 17, 2019 · 12 comments
Labels
🐞 bug Something isn't working

Comments

@croulibri
Copy link

Nextcloud deck 0.6.2 on Nextcloud 15.0.5.
Android 7.1.2. with

  • Android Nextcloud 3.6.0 (from f-Droid)
  • Adroid Nextcloud Deck 0.0.2 (from f-Droid)

When I first open Nextcloud Deck on my Android device, I have to choose a Nextcloud account on the account chooser dialogue. I select an existing one and immediately I have a pop-up "Error : You have to accept the requested permissions to use the single sign-on feature" (see 2 first pictures at nextcloud/Android-SingleSignOn#60 (comment))

So I can't log in to my existing Nextcloud account.
Android Nextcloud Deck doesn't crash but is unable to open my Nextcloud account.

According to nextcloud/Android-SingleSignOn#60 it seems to be a known issue, but I am not clear if the fix has been implemented yet and if Nextcloud Deck need to integrate a fix.

@croulibri croulibri added the 🐞 bug Something isn't working label May 17, 2019
@David-Development
Copy link
Collaborator

@croulibri It has been fixed, but it is not published yet (PR). I will release an update of the SingleSignOn library soon!

There are some changes required in this app as well.. not sure when @stefan-niedermann and @desperateCoder are planning on doing another release.
Or are you guys waiting for me?

@stefan-niedermann
Copy link
Owner

We are waiting for the next stable release of the sso lib and then publish a new version on F-Droid :)

@David-Development
Copy link
Collaborator

@stefan-niedermann
Copy link
Owner

Great news, thank you :)

@stefan-niedermann
Copy link
Owner

@croulibri can you retest the login with the current master please?

@stefan-niedermann
Copy link
Owner

@croulibri forget it, i see there is still some work left. Tracking in https://github.com/stefan-niedermann/nextcloud-deck/tree/android-7-permissions

@stefan-niedermann
Copy link
Owner

Login is now possible with android 6 and 7 (master-branch) - Please note, that there are still some problems left with multi account setup

@croulibri
Copy link
Author

Yes, login is now possible with Android Nextcloud Deck 0.0.3 (from f-Droid)

Thanks !

@AlmightyFrog
Copy link

Is there any further action needed? It still does not work on on devices (Android 7 and 8).
The versions I have installed are from F-Droid: Nextcloud 3.7.0 RC and Nextcloud Deck 0.0.3

@desperateCoder
Copy link
Collaborator

desperateCoder commented Jul 10, 2019

Hi @AlmightyFrog,
did you try to un- and reinstall the whole app?
Sometimes the local database needs to be wiped, that's the simplest way.

@stefan-niedermann
Copy link
Owner

Also: Does the login itself work or are just no boards displayed? There is another bug with the server app version 0.6.4 which will soon be fixed in the android version 0.0.4 :)

@AlmightyFrog
Copy link

Yes, I did full reinstall, clearing cache. Didn't help at all. It was like i was presented my account to select but when i clicked on it I got message like shown in this issue. I saw the permission request for accessing contacts, but not the one to find accounts on my device (in german "Konten auf dem Gerät suchen"). looks like that was missing.

Had to enable this manually on the LineageOS built in permissions manager and now it works. Maybe could you check if you request this specific permission?

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

5 participants