One thing that’s working well for Developer Education at WorkOS: pairing open-source companion repositories with detailed tutorials.

It’s helping devs learn faster, solve complex problems, and build better systems. Here’s how we do it: 🧵

The formula:

1. Build an example architecture for a real-world use case.

2. Open-source the code as a companion repository.

3. Write a tutorial that explains how to implement it step by step.

This combo makes concepts actionable.

Here are some recent examples:

✅ Browser-Based OAuth for CLI Tools

🖥️ Repo: Secure token fetching & storage for CLI apps.

📚 Tutorial: https://workos.com/blog/how-to-build-browser-based-oauth-into-your-cli-with-workos

How to build browser-based OAuth into your CLI with WorkOS — WorkOS

Ever wondered how tools like GitHub's CLI let you authenticate with a single gh auth login command? In this tutorial with companion code repo, we go through the implementation step by step.

Loading replies...