ThePiachu
ThePiachu

Reputation: 9185

GAE Golang - OAuth and OAuth2?

I'm trying to implement a Google App Engine Go application that will be using OAuth and OAuth2 for users logging in. I'm wondering if it is possible, and if so, how to do it? Can someone provide an example of this?

Upvotes: 5

Views: 2683

Answers (1)

proppy
proppy

Reputation: 10504

You can use goauth2 to implement an OAuth2 client on App Engine

You can then log your users with their Google Account by requesting https://www.googleapis.com/auth/userinfo.profile scopes as shown on Using OAuth 2.0 for Login

Upvotes: 3

Related Questions