Teifun2 / nextcloud-cookbook-flutter

Flutter Project for the nextcloud plugin "cookbook"
Creative Commons Zero v1.0 Universal
103 stars 25 forks source link

Add SSO with Nextcloud Android SSO API #51

Open sepo83 opened 3 years ago

sepo83 commented 3 years ago

Please add Single Sign On with the Nextcloud Android Files app (see https://github.com/nextcloud/Android-SingleSignOn)!

Current problem is that flutter/dart is not directly supported (see https://github.com/nextcloud/Android-SingleSignOn/issues/297). The issue was unfortunately closed already. However, I have seen that some very good nextcloud android apps (including yours) are written in flutter/dart, e.g.:

Perhaps, you and the other developers can find a solution together. Also see https://gitlab.com/joleaf/nc-passwords-app/-/issues/28

Teifun2 commented 3 years ago

Sorry, I'm back from a longer break!

To find a solution that works with flutter would be definitively a good idea. But as the current system is working and it is more on the side of nice to have i will not prioritize this. Nevertheless will leave this issue open, for anyone that has news on potential flutter libraries or if i ever get around to work on that!

Teifun2 commented 3 years ago

@dupuik

I'm not sure if i understand you correctly. You can only login with SSO? How is that even configured? I was not aware that this is possible,

As i mentioned i will currently not invest time into this as it will be a lot of work and there are multiple ways this works already.

Have you checked if you cannot generate an "app password" yourself in nextcloud and then login with this in the app with the Advanced Settings option "Use self generated App Password"

Teifun2 commented 3 years ago

@dupuik

Sadly SSO support is not planned in the near future. Can i help you in another way to setup the app? Or is SSO a deal breaker for you :(