Introduction 👉 The oAuth2 protocol has almost become a standard for securing websites and API services. Developers no longer need to store and manage userIDs and passwords for their users. Offloading the authentication to OAuth2 providers such as Google, Facebook, Linkedin, Github keeps the authentication with username and password, within those providers rather than passing through the developer’s application. This reduces the risk that an application will leak user credentials and puts more control in the user's hands on for managing authentication with their accounts. I wanted to provide this capability in my own apps and went looking for a pattern to use in Go. Typically when I’m on a hunt like this I find bits and pieces that I stitch together into a reference pattern. For this oAuth pattern most of the result I found referenced back to a couple limited examples on the google site. Then it happened, I stumbled on a fantastic write-up and sample app that covers every main po...
it's always a good idea to keep track of your learning.