You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we're using a Sabre plugin for HTTP basic auth, which checks the Authorization: basic xxxx header. With basic auth it's possible to authenticate either with user + login password or user + token. The latter is an interim solution to not break existing/legacy clients.
With pure token based auth, the client sends a HTTP header Authorization: token xxxx.
Steps to reproduce
Generate device token
Make DAV request using the Authorization: token xxx format
Expected behaviour
The client should authenticate successfully.
Actual behaviour
Auth exception is thrown as no HTTP basic header is found
ownCloud version: (see ownCloud admin page)
9.1.0.2
Okay, now I realize that I have mixed up "server support" and "client support".
So first we need:
make ownCloud DAV's endpoints support token auth
make ownCloud's DAV client (fed shares, etc) use token auth when connecting to other ownClouds
I guess this ticket is mostly about 1) which is important for clients to be able to use token auth.
In that case it might still be feasible for 9.1. @ChristophWurst can you confirm ?
Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
Activity
DeepDiver1975 commentedon May 23, 2016
sabre dav provides the abstract bearer auth backend for this use case https://github.com/fruux/sabre-dav/blob/master/lib/DAV/Auth/Backend/AbstractBearer.php
PVince81 commentedon May 23, 2016
Great stuff, yes.
We still need to have a fallback in case we're connecting to older ownCloud versions that don't support token based auth.
PVince81 commentedon May 23, 2016
Why "bug" ? This is mostly an enhancement. @ChristophWurst
I doubt there's enough time for 9.1 before the freeze for this to be covered properly. But would be a nice addition, yes.
CC @cmonteroluque
PVince81 commentedon May 23, 2016
Okay, now I realize that I have mixed up "server support" and "client support".
So first we need:
I guess this ticket is mostly about 1) which is important for clients to be able to use token auth.
In that case it might still be feasible for 9.1. @ChristophWurst can you confirm ?
ChristophWurst commentedon May 23, 2016
Exactly, it's about the server support. If there is enough time I'd like to implement this for 9.1.
PVince81 commentedon May 23, 2016
No more time for 9.1, moving to 9.2.
PVince81 commentedon May 23, 2016
@cmonteroluque FYI, note that this was not in any plan and is just nice to have
MTRichards commentedon May 26, 2016
concur! thanks for asking.
10 remaining items
ownclouders commentedon Dec 21, 2017
Hey, this issue has been closed because the label
status/STALEis set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.(This is an automated comment from GitMate.io.
PVince81 commentedon Dec 21, 2017
I'll let @DeepDiver1975 evaluate whether this is still relevant in the future, considering that we have oauth2 now and some slightly different plans
ownclouders commentedon Jan 29, 2018
Hey, this issue has been closed because the label
status/STALEis set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.(This is an automated comment from GitMate.io.)
PVince81 commentedon Jan 29, 2018
Likely already implemented with oauth token
lock commentedon Jul 31, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.