Urgent.News

What's breaking now, across thousands of outlets.

Tech

Never Share Your Password Again — The OAuth 2.0 Solution

Before OAuth 2.0, third-party apps needed users' Twitter usernames and passwords to access their timelines. This practice, known as the password anti-pattern, was risky as breached apps could compromise all user accounts they had access to. Users could not revoke access to a single app without changing their password everywhere.

OAuth 2.0 changed this by allowing users to authenticate with a trusted service (like Google or GitHub) and granting the app a token with specific permissions, time limitations, and the ability to be revoked. The token is exchanged through a flow involving the Authorization Code with PKCE, which employs several security-critical parameters: a state value for CSRF protection, a code_challenge and code_verifier for PKCE, and a pre-registered redirect URI to prevent attackers from hijacking the code.

The authorization code is also short-lived and single-use, ensuring security even if intercepted. Scopes limit the app's access to specific permissions, such as calendar.read, preventing broader access that could lead to more severe breaches. OAuth 2.0, through its various components, makes it secure for users to grant third-party apps controlled access to their accounts without sharing passwords.

Written by urgent.news from Stack Overflow Blog's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at stackoverflow.blog →

More in Tech

Blame the Model Last: An Attribution FAQ

An illustrative scenario, labeled as such Imagine a repository where two integration tests fail, so a developer hands an agent a single sentence: make the suite pass.

  • Record inputs before judging output to identify root cause of failing test suite
  • Capture per-phase timings to pinpoint bottlenecks beyond wall-clock time measurements

My first app was honestly bad, so I rebuilt it

I shipped Halo, a habit tracker for Android, as my first app. The first release was honestly bad. I rebuilt it from top to bottom; today it looks almost nothing like that first version.

  • Halo app initially released with inadequate features
  • Rebuilt Halo to include realistic habit tracking features
  • Halo Premium offers weekly Rhythm Coach report

VRのYouTube大改修が、視覚トレーニングの「続けられる理由」を変える

VRのYouTube大改修が、視覚トレーニングの「続けられる理由」を変える 【VR空間のYouTube体験が大きく変わろうとしています】 UploadVRが報じたのは、QuestにおけるYouTubeアプリの「没入ビュー」がAndroid…

  • Google redesigns YouTube app for Quest to resemble Android XR and visionOS.
  • Amblyotube transforms YouTube-style content into visual training exercises in VR.
  • Software uses dual-eye rendering, AI sharpener, and focus cues for depth perception.

More from Monday 9 November →