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

Bearer auth backend causes problems with several dav clients #5088

Closed
nickvergessen opened this issue May 24, 2017 · 7 comments
Closed

Bearer auth backend causes problems with several dav clients #5088

nickvergessen opened this issue May 24, 2017 · 7 comments

Comments

@nickvergessen
Copy link
Member

The topic is getting way too much replies:
https://help.nextcloud.com/t/nc12-authentication-issue-with-cardav-caldav-and-sogo-connector/12924/

We need to find a way for this, so it doesn't break all the clients anymore.

cc @LukasReschke

@GieltjE
Copy link

GieltjE commented May 25, 2017

#5092 Appears to be a duplicate or at least directly related.

@nickvergessen
Copy link
Member Author

Yeah, see the link to the forum above for a temporary workaround

@LukasReschke
Copy link
Member

LukasReschke commented May 25, 2017

Does reordering the auth mechanisms help or should we do something REALLY hacky and prevent the second Authenticate header?

Note that this really is more of a bug in the clients… but well, if apparently all clients implement such stuff incorrectly 🙈

I think the hacky approach might help us more :)

@nickvergessen
Copy link
Member Author

Reordering doesn't seem to help, because the order is different on the dav/ endpoint, but many people also have problems on that one.

@LukasReschke
Copy link
Member

K, we'll then just pretend to only do Basic Auth 🙈

@Aehrraid
Copy link

Thanks for bringing this in 12.0.1. When will this be released? Where can I find a release-plan for minor updates? The topic is quite important for me.
I found https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule and https://github.com/nextcloud/server/milestone/25 but those didn't help a lot.

@nickvergessen
Copy link
Member Author

@Aehrraid you can also just fix it manually right now with:
https://help.nextcloud.com/t/nc12-authentication-issue-with-cardav-caldav-and-sogo-connector/12924/9

the "average" release cycle is 4weeks

LukasReschke added a commit that referenced this issue Jun 13, 2017
Overrides \Sabre\DAV\Auth\Backend\AbstractBearer::challenge to prevent sending a second WWW-Authenticate header which is standard-compliant but most DAV clients simply fail hard.

Fixes #5088

Signed-off-by: Lukas Reschke <[email protected]>
LukasReschke added a commit that referenced this issue Jun 13, 2017
Overrides \Sabre\DAV\Auth\Backend\AbstractBearer::challenge to prevent sending a second WWW-Authenticate header which is standard-compliant but most DAV clients simply fail hard.

Fixes #5088

Signed-off-by: Lukas Reschke <[email protected]>
LukasReschke added a commit that referenced this issue Jun 13, 2017
Overrides \Sabre\DAV\Auth\Backend\AbstractBearer::challenge to prevent sending a second WWW-Authenticate header which is standard-compliant but most DAV clients simply fail hard.

Fixes #5088

Signed-off-by: Lukas Reschke <[email protected]>
@MorrisJobke MorrisJobke removed the 1. to develop Accepted and waiting to be taken care of label Jun 13, 2017
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

5 participants