Get the latest tech news

An illustrated guide to OAuth


OAuth was first introduced in 2007.

*I'm reliably informed by a friend in security that the OAuth designers learned a bunch of lessons the hard way, and that is another reason why it is so complicated: because it had to be patched repeatedly. So, theoretically, you could exchange your authorization code for an access token right on the frontend, in JavaScript, by making a POST fetch request. I may cover PKCE in a future post, as it is now recommended for the standard flow as well, since it helps protect against auth code interception.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of oAuth

oAuth

Photo of illustrated guide

illustrated guide

Related news:

News photo

How can AI ID a cat?

News photo

Ratfactor's illustrated guide to folding fitted sheets

News photo

What Is OAuth and How Does It Work?