GoogleAppsの”2-legged” OAuthの認証先(Webアプリ登録先)

この記事は次のブログに引っ越しました。

WebアプリからOAuthを使ってGoogleAppsにアクセスしたい場合など、事前にWebアプリを登録してコンシューマーキー("Consumer Key")やアクセス・トークン("Consumer Secret")を取得する必要があるのですが、GoogleAppsの管理画面から探すといつも迷うので、備忘録として。 GoogleAppsのOAuth2.0対応Webアプリケーション登録方法 Webアプリを動かすドメインを管理画面から登録 登録および認証後、再度管理画面に表示された対象のURLをクリック 表示が「アクティブ」になっているのを確認して、表示されている"OAuth Consumer Key"と"OAuth Consumer Secret"を控える 参考リンク 管理ドメインの登録先 → https://accounts.google.com/ManageDomains Webアプリの登録に関する資料 → Registration for Web-Based Applications OAuth2のPHP Clientライブラリ → OAuth2.0 Google API PHP Client (GoogleCode) AuthSubを使う場合の資料 → AuthSub for WebApplications ※2012/03/03現在、OAuthの"two-legged"方式による認証は有料版(Bussiness, Education)でないと動かないようです。 GoogleApps:"Google Data API"のスコープ用アドレス一覧 GoogleAppsで"2-legged OAuth"に対応しているGoogle Data API一覧 Google API Scope Calendar Data API http(s)://www.google.com/calendar/feeds/ Contacts Data API http(s)://www.google.com/m8/feeds/ Documents List Data API http(s)://docs.google.com/feeds/ Finance Data API http(s)://finance.google.com/finance/feeds/ Sites Data API http(s)://sites.google.com/feeds/ Spreadsheets Data API http(s)://spreadsheets.google.com/feeds/ Calendar Resources HTTPS (読取専用) https://apps-apis.google.com/a/feeds/calendar/resource/#readonly Groups Rosters HTTPS (読取専用) https://apps-apis.google.com/a/feeds/group/#readonly Nicknames HTTPS (読取専用) https://apps-apis.google.com/a/feeds/nickname/#readonly Users HTTPS (読取専用) https://apps-apis.google.com/a/feeds/user/#readonly ※最新の対応情報はこちら → OAuth: Managing the OAuth key and secret