Android: Use Login Flow with DAVx⁵

Created on 20 Oct 2019  ·  9Comments  ·  Source: nextcloud/android

DAVx⁵ supports the Nextcloud Login Flow since 2.6-beta1. The intent is documented here: https://www.davx5.com/manual/technical_information.html#api-integration (updated recently so you may have to refresh the browser cache)

I suggest to call the new Intent from the Nextcloud app so that Login Flow is used.

Compatibility:

  • old Nextcloud app / new DAVx⁵ versions: no problems, because the URL/username/password extras are still actively supported
  • old DAVx⁵ / new Nextcloud app versions: You could set both the url, username, password extras and the data URI + loginFlow/davPath extras. In this case, new DAVx⁵ versions will see the loginFlow extra and switch to Login Flow, while old DAVx⁵ versions will still use the URL/username extras.

If you need any assistance or anything else, please just write here or there: https://forums.bitfire.at/topic/2121/please-support-nextclouds-singlesignon-sso

enhancement

Most helpful comment

Thanks. Seems fine for me :) We'll release DAVx⁵ 2.6 soon.

All 9 comments

Pinging @tobiasKaminsky 😊

@rfc2822 thanks for your great work!
I found a little bug and fixed it: https://gitlab.com/bitfireAT/davx5-ose/merge_requests/22

@rfc2822 will ship this with the upcomming 3.9.0 🎉

Thanks, I have merged the two MRs to DAVx⁵. Would it be possible that you send a current Nextcloud APK so that I can have a try too? :)

In every PR is always a QA build which can be installed in parallel.

https://github.com/nextcloud/android/pull/4716#issuecomment-545807542

Thanks. Seems fine for me :) We'll release DAVx⁵ 2.6 soon.

Hi, sorry about the question, but where is the difference between the solution before?
I installed the 2.6 but I have to fill in the credentials again if I start dav5x out of the nextcloud App (3.9.0).
There is no single sign on. Or do I made a mistake? Or is the flow login not with sso?
Thanks for clarification

@jakobroehrl it is not about single sign on, but about easily generate an app token.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daywalk3r666 picture daywalk3r666  ·  3Comments

ezaquarii picture ezaquarii  ·  3Comments

JSoko picture JSoko  ·  3Comments

Tie-fighter picture Tie-fighter  ·  3Comments

rainer042 picture rainer042  ·  3Comments