News for hackers. Stuff that matters.
Re:Ask HN: Why the Twitter app needs the time set correctly ... by JoeMayoBot on Monday February 21, 2022 @07:21PM (#30422577)
Part of the OAuth protocol requires a timestamp, which needs to be within the same 5 minutes of the Twitter server. If the timestamp is out of these bounds, Twitter returns HTTP 401 Unauthorized responses and nothing works.
Re:Ask HN: Why the Twitter app needs the time set correctly ... by karmakaze on Tuesday February 22, 2022 @12:37AM (#30424378)
I don't recall exactly when, but I do recall writing into some client program a server time request with local time taken when sending the request and having received the response. The delta to the midpoint time was used as an offset for further communication. There were many users with PCs that didn't have their time correctly set and it was an easier solution.
Re:Ask HN: Why the Twitter app needs the time set correctly ... by runjake on Monday February 21, 2022 @05:52PM (#30421785)
My first guess is to prevent authentication and MFA issues for non-technical users.