[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Inf-IT DAVcl] Caldavzap/mate auth using basic_auth


Hi.

On Mon, May 05, 2014 at 09:07:18AM +0200, Ján Máté wrote:
> No, CalDavZAP is pure JavaScript application, but it has one major limitation:
> if it sends the username+password directly to the *DAV server and these
> credentials are invalid, then your browser shows the auth popup window
> (because it handles the WWW-Authenticate: response header) what breaks
> the consistency of the GUI.
With Firefox, you can try to issue a XHR with mozBackgroundRequest = true.
cf. https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest


> 2.) change the source code and perform the request to the auth module without 
> requiring click to the "Login" button. The reason why there is no such option is that
> I really hate it, because of the stupid implementation of the basic auth by browsers
> (there is no way to logout without browser restart)
> 
This is not true.
Firefox let's you do this via Ctrl+Shift+Del (cf. <http://superuser.com/a/181554/265964>).
There is a bug report for having a more native UI, though: <https://bugzilla.mozilla.org/show_bug.cgi?id=300002>

Cheers,
  Tobi

Follow-Ups:
Re: [Inf-IT DAVcl] Caldavzap/mate auth using basic_authJán Máté <jan.mate@xxxxxxxxxx>
Re: [Inf-IT DAVcl] Caldavzap/mate auth using basic_authDariush Forouher <dariush@xxxxxxxxxxx>
References:
[Inf-IT DAVcl] Caldavzap/mate auth using basic_authDariush Forouher <dariush@xxxxxxxxxxx>
Re: [Inf-IT DAVcl] Caldavzap/mate auth using basic_authJán Máté <jan.mate@xxxxxxxxxx>
Re: [Inf-IT DAVcl] Caldavzap/mate auth using basic_authDariush Forouher <dariush@xxxxxxxxxxx>
Re: [Inf-IT DAVcl] Caldavzap/mate auth using basic_authJán Máté <jan.mate@xxxxxxxxxx>