That's What I'm Token About: Validating through Experimentation
As LLMs have become more and more capable, I've found myself consistently missing the mark on estimating how long/complex a certain coding experiment would take. This past weekend I wanted to build...

Source: DEV Community
As LLMs have become more and more capable, I've found myself consistently missing the mark on estimating how long/complex a certain coding experiment would take. This past weekend I wanted to build a quick POC with a CLI. Within two hours I had a functional demo of everything I hoped to validate. The scope of this side project was to see if I could successfully login via a CLI command which redirected to the browser, followed by another command to fetch a small amount of data from an API. The API needed to successfully authenticate the user to allow the data to be fetched. To do this, I created a free account with Auth0, an identity provider (IDP). I leveraged Claude to guide me through the initial setup within the IDP and confirmed that Go would be a good fit for the API/CLI mix. Auth0 also provides a library for the API to easily verify tokens. On the CLI side, the authentication flow was handled with golang.org/x/oauth2 and the standard library, and Cobra was a natural fit for struc