Cloudlflare builds OAuth with Claude and publishes all the prompts
1–10 of 552 posts
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#2"NOOOOOOOO!!!! You can't just use an LLM to write an auth library!"
"haha gpus go brrr"
In all seriousness, two months ago (January 2025), I (@kentonv) would have agreed. I was an AI skeptic. I thoughts LLMs were glorified Markov chain generators that didn't actually understand code and couldn't produce anything novel. I started this project on a lark, fully expecting the AI to produce terrible code for me to laugh at. And then, uh... the code actually looked pretty good. Not perfect, but I just told the AI to fix things, and it did. I was shocked.
To emphasize, this is not "vibe coded". Every line was thoroughly reviewed and cross-referenced with relevant RFCs, by security experts with previous experience with those RFCs. I was trying to validate my skepticism. I ended up proving myself wrong.
Again, please check out the commit history -- especially early commits -- to understand how this went.
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#3Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#4another models feels like shit to use, but claude is good
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#5I don't actually enjoy it, i generally find it difficult to use as i have more trouble explaining what i want than actually just doing it. However it seems clear that this is not going away and to some degree it's "the future". I suspect it's better to learn the new tools of my craft than to be caught unaware.
With that said i still think we're in the infancy of actual tooling around this stuff though. I'm always interested to see novel UXs on this front.
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#6Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#7As an edit, after reading some of the prompts, what is the likelihood that a non-expert could even come up with those prompts?
The really really interesting thing would be if an AI could actually generate the prompts.
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#8Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#9Yup. I'm more skeptic than pro-AI these days, but nonetheless i'm still trying to use AI in my workflows. I don't actually enjoy it, i generally find it difficult to use as i have more trouble explaining what i want than actually just doing it. However it seems clear that this is not going away and to some degree it's "the future". I suspect it's better to learn the new tools of my craft than to be caught unaware. Wi…
For example, I usually come off as being relatively skeptic within the HN crowd, but I'm actually pushing for more usage at work. This kind of "opinion arbitrage" is common with new technologies.
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#10The million dollar (perhaps literally) question is – could @kentonv have written this library quicker by himself without any AI help?