nextcloud / nextcloud/Android-SingleSignOn

Possibility to get WebDAV-capable app password/token from SSO

Open
#598 5 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
74
Forks
36
Avg merge
1d 19h
Merged PRs (30d)
17

Description

I'm currently trying to implement Nextcloud SSO for DAVx5. I can call the account picker, which successfully returns a SingleSignOnAccount with userId and token.

However, this token doesn't seem to work as app-password (= Basic <userId>:<token>) nor as access token (Authorization: Bearer <token>).

I don't want to use the SSO network methods because DAVx5 has its own network stack with very specific requirements.

Should the token be usable as app-password/access token or is there some way to get working HTTP credentials from the SSO library?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SingleSignOnAccount returned by the account picker and trace how its userId and token are intended to be used. Compare the reported Basic app-password and Bearer authentication attempts with the SSO library's exposed credentials or network methods. Done means determining whether reusable WebDAV HTTP credentials are supported or documenting the required integration path.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.