Skip to content

Comment on Using www-authenticate for user authenticationparent

Comments

From the article:

the nice thing about this is that the browser will keep sending the credentials to subsequent requests of the same domain until it receives a 401 status as response.

The logout button can simply redirect to a static page that returns a 401.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.