News for hackers. Stuff that matters.
Re:My programming beliefs as of July 2024 by tempcommenttt on Wednesday July 24, 2024 @10:25AM (#41057439)
I have a production API where sending 401 immediately kills your session and you’re logged out. And 403 doesn’t. We have this as a result of race conditions where the front end incorrectly thinks it still has a valid session. But the back end knows better
Re:My programming beliefs as of July 2024 by BWStearns on Wednesday July 24, 2024 @10:46AM (#41057647)
I like the 401->autokick back to homepage pattern.