https://console.developers.google.com/
google = OAuth2Service(name='google',
authorize_url='https://accounts.google.com/o/oauth2/auth',
access_token_url='https://accounts.google.com/o/oauth2/token',
client_id=CLIENT_ID,
client_secret=CLIENT_SECRET,
base_url='https://www.googleapis.com/oauth2/v1/',
)
https://github.com/a0726h77/opensourcefeeds.tw/blob/master/wsgi/app/controllers/google.py
References :
Using OAuth 2.0 for Login (OpenID Connect) - Google Accounts Authentication and Authorization — Google Developers
not engage in honest work: 使用Google帳號登入自己的網站
沒有留言:
張貼留言