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

Authenticate through Nextcloud files app #4

Open
lneugebauer opened this issue Aug 19, 2021 · 5 comments
Open

Authenticate through Nextcloud files app #4

lneugebauer opened this issue Aug 19, 2021 · 5 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lneugebauer
Copy link
Owner

Use the android library to authenticate through the Nextcloud files app.

The prefered way of authenticating should be through the Nextcloud files app. As an alternative the user should still be able to authenticate with username and app password.

@lneugebauer lneugebauer added the enhancement New feature or request label Aug 19, 2021
@lneugebauer
Copy link
Owner Author

Integrated nextcloud sso libraray in commit 09af350. Currently sso is still non-functional. There seems to be a bug in the library (nextcloud/Android-SingleSignOn#177) which prevents me from integrating it fully.

@lneugebauer lneugebauer added the help wanted Extra attention is needed label Nov 8, 2021
@p-fruck
Copy link

p-fruck commented Feb 9, 2024

Hey there, I am currently getting started with nextcloud cookbook and searching for an companion app. I'm a little confused - The documentation and images say that it is possible to log in using the nextcloud files app. However, the button does not appear on my device (Nextcloud Files installed via F-Droid, this was causing errors previously). Also, I couldn't find any reference in the code. Is this already implemented and supposed to work on non-google devices?
Also, regarding the SSO API, there are other apps utilizing this API for SSO in Kotlin apps in case you are interested: https://codeberg.org/MicMun/nextcloud-cookbook/src/branch/master/app/src/main/java/de/micmun/android/nextcloudcookbook/nextcloudapi/Accounts.kt

@lneugebauer
Copy link
Owner Author

Hi @p-fruck, this sure is confusing! I originally started working on SSO integration but never got it to work. The screenshots are quite old and from that time.

Unfortunately, I haven't gotten around to working on it since then.

TL;DR is that you cannot currently use SSO for authentication. Once integrated, it will also work on non-Google devices.

@lneugebauer
Copy link
Owner Author

I've also taken a look at the code of the MicMun app. So I already have some ideas how to integrate it into my app; I just haven't gotten around to it yet.

@p-fruck
Copy link

p-fruck commented Feb 9, 2024

@lneugebauer wow, that reply was quick 😄 Thanks for the explanation, I'll try to use the token login then ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants