Authentication usually is very important part in any application. You can always implement your own authentication system, but it will require a lot of work. That’s why OAuth2 was created, to allow user to log in using one of the many accounts user already has.
In this video we’ll create a simple web page with Google login using oauth2 Go package.
Credits to Jacob Martin for the inspiration:
OAuth2 Go package:
goth package:
Code:
Patreon:
Blog:
Twitter:
Slack Channel: