私はG-Suiteアカウントを持っています。私は開発者コンソールでプロジェクトを作成しました。その中で私は、アプリケーションタイプ(その他)のOauthクライアントID資格を選択しました。私は私が私が2.Experiences 3.refresh_token 1.access_token G Suit - トークン検証のような保護なし
情報以下4.Token_Typeでトークンを受け取ったサンプルMVC https://developers.google.com/drive/v3/web/quickstart/dotnetを試してみましたが、これを使用して.....秘密クライアントとクライアントIDを受けているとso ...
私たちのアプリケーション(トークンを検証するためにtokeninfo apiを使用しました)のAuthenticateのトークンにユーザー関連の情報(例:UserId)が見つかりません。私は応答より下になる
{
"issued_to": "123456789234.apps.googleusercontent.com",
"audience": "123456789234.apps.googleusercontent.com",
"scope": "https://www.googleapis.com/auth/admin.directory.user https://www.googleapis.com/auth/admin.directory.user.readonly",
"expires_in": 3520,
"access_type": "online"
}
access_tokenでユーザーIDを取得する方法は?