NeowayLabs / dojo

Code repository and materials used in Neoway's dojo.
MIT License
7 stars 0 forks source link

Add Google OAuth2 client authentication #7

Open vitorarins opened 7 years ago

fernandoguedes commented 7 years ago

The golang provides a lib to authetication using oauth2: https://godoc.org/golang.org/x/oauth2

i4ki commented 7 years ago

AFAIK this lib is client-only. There's other libraries supporting client & server in Go, but not official ones.

vitorarins commented 7 years ago

Oh, I will update the issue title. We are actually looking for Google's OAuth authentication, not just OAuth.

i4ki commented 7 years ago

google oauth uses oauth2, no?

vitorarins commented 7 years ago

Yess! Thanks for pointing that out :wink: