Oauth2 with Google in Go

Authentication is the most common part in any application. You can implement your own authentication system or use one of the many alternatives that exist, but in this case we are going to use OAuth2. OAuth is a specification that allows users to delegate access to their data without sharing their username and password with that service, if you want to read more about Oauth2 go here. Config Google Project First things first, we need to create our Google Project and create OAuth2 credentials....

July 10, 2018 · 6 min · Me