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?