GoogleのOAuth2.0のURL

2019年11月3日日曜日

t f B! P L
こんにちは、ykyukiです。
GoogleのOAuth認証を実装していて、つまずいた点があったので共有します。

つまずいたのはOAuth認証時のURLです。

URLはGoogleのドキュメントに書いてある
https://accounts.google.com/.well-known/openid-configuration
から参照できます。

2019年10月26日現在のURLは

AuthorizationURL https://accounts.google.com/o/oauth2/v2/auth

TokenURL https://oauth2.googleapis.com/token

UserinfoURL https://openidconnect.googleapis.com/v1/userinfo

RevocationURL https://oauth2.googleapis.com/revoke

です。

QooQ