need a way for content to trigger a clearing of the HTTP auth session from script (.htaccess logout)
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
People
(Reporter: jan, Unassigned)
References
(Depends on 1 open bug)
Details
Comment 1•20 years ago
|
||
Comment 2•20 years ago
|
||
Comment 3•20 years ago
|
||
Comment 5•19 years ago
|
||
Comment 6•19 years ago
|
||
Updated•19 years ago
|
Comment 8•19 years ago
|
||
Comment 9•19 years ago
|
||
Comment 10•19 years ago
|
||
Comment 11•19 years ago
|
||
Comment 12•19 years ago
|
||
Comment 13•19 years ago
|
||
Comment 14•19 years ago
|
||
Comment 15•19 years ago
|
||
Comment 16•19 years ago
|
||
Comment 17•19 years ago
|
||
Comment 18•19 years ago
|
||
Comment 19•19 years ago
|
||
Comment 20•19 years ago
|
||
Updated•19 years ago
|
Comment 21•18 years ago
|
||
Updated•18 years ago
|
Updated•18 years ago
|
Comment 23•17 years ago
|
||
Reporter | ||
Comment 24•17 years ago
|
||
Comment 25•17 years ago
|
||
Comment 26•17 years ago
|
||
Comment 27•17 years ago
|
||
Comment 28•17 years ago
|
||
Comment 30•16 years ago
|
||
Comment 31•15 years ago
|
||
Comment 32•15 years ago
|
||
Comment 33•14 years ago
|
||
Comment 34•13 years ago
|
||
Comment 35•13 years ago
|
||
Comment 36•12 years ago
|
||
Comment 37•10 years ago
|
||
Comment 38•9 years ago
|
||
Comment 39•9 years ago
|
||
Comment 40•9 years ago
|
||
Comment 41•9 years ago
|
||
Comment 42•9 years ago
|
||
Comment 43•7 years ago
|
||
Comment 44•7 years ago
|
||
Comment 45•7 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 46•5 years ago
|
||
For anyone viewing this in the future, your needs might be served by the Clear-Site-Data
HTTP header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data
Comment 47•5 years ago
|
||
@tigt, but is it? As the MDN article suggests, Clear-Site-Data can be used to currently clean: "cache", "cookies", "storage", "executionContexts". There is no mention of cleaning the current SSL session / authentication cache of a browser? No mention of basic auth. or SSL client certificates in the article. If it really only clears cache, cookies and storage and cleaning executionContexts behaves like Location.reload(true), it'll not help for those log-in mechanisms relying on basic auth. or client certificates.
Comment 48•5 years ago
|
||
@tigt, @kris(In reply to Kristian Kraljic from comment #47)
Clear-Site-Data HTTP header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data
Even if that worked, it would be too much of a big stick. If I want to logout, I likely still want the website to remember me when I return.
Comment 49•5 years ago
|
||
(In reply to AnthonyV from comment #48)
Even if that worked, it would be too much of a big stick. If I want to logout, I likely still want the website to remember me when I return.
Well, I would assume Clear-Site-Data is fine, if it clears cookies, storage and cache, the browser will still remember e.g. saved passwords for a page. So I mildly disagree that Clar-Site-Data is such a "big stick" as you said. I would even say adding a Clear-Site-Data "ssl-session" and "basic-auth-cache" directive, would solve everyones misery in this thread. But as pointed out in this thread many times, there'd be many possible solution how to solve this from an API perspective. The much more interesting discussion is, how browsers could handle this reset technically.
Description
•