1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

GCP(Google Cloud Platform)のプロジェクトでOAuth クライアントIDを作成する

Posted at

はじめに

GCPのプロジェクトでOAuthクライアントIDを作成して、認証に必要なClient Secretのjsonを取得する手順をまとめました。
プロジェクトの作成方法はこちらを参照してください。 

手順

プロジェクトのナビゲーションメニューから「APIとサービス/認証情報」を選択します。

トップにある「+認証情報を作成」から「OAuthクライアントID」を選択して、 作成へ進みます。

アプリケーションの種類は用途ごとに選択する必要がありますが、ここでは仮にデスクトップアプリとして作成します。
また名前もここでは仮に「my-google-api-tool-box-oauth2」としています。
作成を押すとOAuthクライアントIDが作成されます。

ダイアログからダウンロードした JSONを利用してGoogleAPIのOAuth認証を利用できます。

以上となります。

関連

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?