Get the latest tech news
OAuth from First Principles
Stack Auth is open-source authentication for the modern web.
By handing over his username and password, Big Head gives Pied Piper full access to his entire Hooli account. Big Head doesn't want to generate an access token manually every single time he compresses a file, or signs in to a service. Congrats — we arrived at the OAuth 2.0 authorization code flow with PKCE, which is the accepted standard way to do third-party auth in browsers today.
Or read this on Hacker News