What Is OAuth?(leaflet.pub)
54 points bycratermoon2 hours ago |10 comments
Frotag14 minutes ago
I've been meaning to set up some nginx-level oauth. I have some self-hosted apps I want to share with friends / family but forcing them to remember a user / pass (basic auth) or run a vpn is a bit too much friction.
clickety_clack58 minutes ago
The thing about OAuth is that it’s really very simple. You just have to grasp a lot of very complicated details (that nobody explains) first before it becomes simple.
Swizec15 minutes ago
I remember building oauth logins back when “login with your twitter” was a brand new revolutionary idea, before there were libraries to handle the details.

Still have scars from building directly based off the blogposts Twitter and Facebook engineers wrote about how to integrate with this. Think it wasn’t even a standard yet.

I credit that painful experience with now feeling like OAuth is really quite simple. V2 cleaned it up a lot

chrysoprace1 hour ago
OAuth has always been quite hard to grasp, even though I use it every day. One day I'll write an implementation to properly understand how it works from the bottom up and go through each of the standards that have evolved over time.
skybrian1 hour ago
In case anyone is wondering how to scroll: your mouse needs to be in the center of the page, not in the margins.
VladVladikoff1 hour ago
Pain. Thanks for asking.
mberning19 minutes ago
If you go to most Fortune 500 companies they will have a whole team of people dedicated to running an IdP and doing integrations. Most people on these teams cannot explain oauth, oidc, or saml even though they work with it every single day. It’s that bad.
beratbozkurt01 hour ago
It's something many people use, but many of them don't know what it is. Thanks for this article.
magicalhippo1 hour ago
The title of the post, which the submitter dutifully copied, is IMHO unfortunate since the post seeks to answer the following question:

What I need is to understand why it is designed this way, and to see concrete examples of use cases that motivate the design

It's not "just another" explanation for how OAuth does, which was my immediate guess when reading the title.

However glad I opted to give it a chance, and likely especially illuminating for the younger crowd who didn't get to experience the joys of the early web 2.0 days.

chrisweekly1 hour ago
Maybe worth mention: its author wrote the first sketch of an OAuth specification, while working at Twitter.
skeptrune1 hour ago
Great writeup
mansilladev1 hour ago
Baby don’t hurt me. Don’t hurt me. No more.