Live data from Hacker News

Using HTTP Basic Auth in 2022

joeldare.com

1–10 of 345 posts

Re: Using HTTP Basic Auth in 2022

#6
post #2

How do you logout?

While your point is correct: It's not design with a logout in mind, but you can do it. For instance clicking link that will send invalid credentials, that will return a 401 and work like a logout.

Mostly I just close my browser, that clear everything in my setup.

Re: Using HTTP Basic Auth in 2022

#10
post #3

This is perfectly fine. Nothing to be ashamed of. At least you don’t need to create a logon form

But if you are rolling your own auth, you still need to create the signup, change password, reset password, confirm account, delete account, etc. pages. What's one more? Given that a logon form is >5% of the total amount of work to roll auth, seems kinda pointless to use this.
Post reply on HN