Skip to content

Comment on Using www-authenticate for user authentication

Comments

I always thought you couldn't implement logout with HTTP basic auth, but according to this:

logging out is done by simply returning a 401 without www-authenticate header

I did not know that worked!

AboutSource Built by g1lg1l

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