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
{{ message }}
Repository navigation
Implement token-based authentication with opening URL in external browser #4798
QtWebKit is now deprecated and the clock is ticking as Qt 5.6 is going to be the last release that we can rely on it working reliably on all our platforms.
There is the option to switch to QtWebEngine (#4692), but this would triple the size of our binary packages and might not be available on all linux distributions.
Having a custom authentication between the ownCloud client and server would also mean that we don't limit the authentication method supported by the server based on what the client can do.
The general idea would be:
The user enters the server URL in the client's wizard
The client asks the server to generate an authentication token
The client opens the desktop browser passing this token as a GET parameter
The user authenticates the token by signing in in the ownCloud web application using the configured server auth (user/pass, shibboleth, etc) and then confirm that he wants the client to have access
The client, meanwhile polling the server for the status of the token, gets told that it was associated with the account xyz through the browser
This will need infrastructure in the server, so we will need to keep using QtWebKit until we can require a server that supports this method.
@MTRichards @cmonteroluque @LukasReschke FYI, please consider for quickly on the roadmap, as we (apart from striving for a cool solution) have a problem described in #4692
OK. I like this idea. But not sure how it integrates with what we have planned...need to connect the dots. @LukasReschke does this complement the plan we discussed for a new auth core in ownCloud?
changed the title [-]Replace the QtWebKit dependency with an indirect token-based authentication[/-][+]Implement token-based authentication and later remove QtWebKit dependency[/+]on May 20, 2016
changed the title [-]Implement token-based authentication and later remove QtWebKit dependency[/-][+]Implement token-based authentication with opening URL in external browser[/+]on May 20, 2016
@ChristophWurst yes it is. And what we will discuss in a bit more detail on monday (with the others as well). Basically how to handle 2 factor on the client.
Activity
jturcotte commentedon May 6, 2016
/cc @owncloud/desktop-developers
dragotin commentedon May 6, 2016
owncloud/core#23458 and owncloud/core#12102 related
dragotin commentedon May 6, 2016
@MTRichards @cmonteroluque @LukasReschke FYI, please consider for quickly on the roadmap, as we (apart from striving for a cool solution) have a problem described in #4692
MTRichards commentedon May 6, 2016
OK. I like this idea. But not sure how it integrates with what we have planned...need to connect the dots. @LukasReschke does this complement the plan we discussed for a new auth core in ownCloud?
dragotin commentedon May 17, 2016
A little image to show how it could work:
[-]Replace the QtWebKit dependency with an indirect token-based authentication[/-][+]Implement token-based authentication and later remove QtWebKit dependency[/+][-]Implement token-based authentication and later remove QtWebKit dependency[/-][+]Implement token-based authentication with opening URL in external browser[/+]rullzer commentedon May 20, 2016
Related to #4877
rullzer commentedon May 20, 2016
COPIED IN:
In order to support proper 2 factor support on the client we want to change the way you log in.
In order to do this properly with supporting all 2 factor providers out there we figured it is easy to move the auth entirely to the server.
So the workflow:
guruz commentedon May 21, 2016
FYI @ChristophWurst
ChristophWurst commentedon May 21, 2016
thanks @guruz. Is this what we talked about in the call? cc @danimo
rullzer commentedon May 21, 2016
@ChristophWurst yes it is. And what we will discuss in a bit more detail on monday (with the others as well). Basically how to handle 2 factor on the client.
butonic commentedon Mar 22, 2017
https://github.com/owncloud/oauth2 is avalable in 9.1, see owncloud/core#26742
Authentication with OAuth2
Authentication with OAuth2
Authentication with OAuth2