Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use authenticationRequired as intended instead of sending in createRequest #5789

Closed
guruz opened this issue May 22, 2017 · 6 comments
Closed

Comments

@guruz
Copy link
Contributor

guruz commented May 22, 2017

#5728 (comment)

@guruz The code for sending the Auth header all the time refers to issue #4326 - doesn't that mean we can't re-revert ef9483c as long as we support servers 8.X?

We would need to check which server 8.x version has this actually fixed.
See also https://github.com/owncloud/core/wiki/Maintenance-and-Release-Schedule on how long servers are supported.

Maybe @ogoffart could explain if this collides with OAuth2 or not, I didn't see any big issues when checking https://github.com/owncloud/client/pull/5668/files

FYI @ogoffart @ckamm

@guruz
Copy link
Contributor Author

guruz commented Sep 6, 2017

FYI @ckamm

@ckamm
Copy link
Contributor

ckamm commented Sep 6, 2017

So, since all 8.X servers are now at EOL we could remove this workaround. It might help with addressing bugs like #5989 that are seem related.

@ckamm ckamm self-assigned this Sep 6, 2017
@ckamm
Copy link
Contributor

ckamm commented Sep 6, 2017

Further investigation:

Result: We cannot use the QAuthenticator / authenticationRequired-signal based way of answering authentication challenges and should stick to what already works.

@ckamm ckamm removed their assignment Sep 6, 2017
@ckamm
Copy link
Contributor

ckamm commented Sep 6, 2017

OAuth2 support in Qt:

But since @ogoffart already made OAuth2 work for 2.4, none of these are urgent.

@guruz
Copy link
Contributor Author

guruz commented Sep 21, 2017

@ckamm said this is not possible because we can't access "Bearer" authentication from QAuthenticator.

@thiagomacieira

@ogoffart
Copy link
Contributor

Correct, this is not possible with oauth2 anyway. Even QtNetworkAuth do the same as us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants