> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/global-settings/global-settings-docs-ja/sekyuriti/id-purobaidsso/oidc-id-purobaid/google-idp-oidc-she-ding.md).

# Google IDP - OIDC - 設定

{% hint style="success" %}

#### 必要なユーザー認証情報

\[**Flosumユーザー**] - **システム管理者** 役割
{% endhint %}

{% hint style="success" %}

#### 重要なお知らせ

この記事の手順はサードパーティ製アプリを対象としており、最新バージョンを反映していない場合があります。これらの手順は作業を完了するためのガイドとしてご利用ください。ただし、一部の画面、項目名、手順が変更されている可能性があることにご注意ください。
{% endhint %}

## ![](https://1457003412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FSxcnKlaJKPzDqONWoDNv%2FSummary2-Small-Icon.svg?alt=media\&token=5e3253d0-a069-4ba5-9c06-83c70bd0b21d) 概要

このガイドでは、Google IDP を OpenID Connect（OIDC）で Flosum Cloud Apps に統合し、シームレスなログインのためにシングルサインオン（SSO）を有効にする方法を説明します。

{% hint style="info" %}
Identity Provider の追加に関するより一般的な手順については、次の記事を参照してください。

* [ID プロバイダー（SSO）の追加](/global-settings/global-settings-docs-ja/sekyuriti/id-purobaidsso/id-purobaidssono-1.md)
  {% endhint %}

{% hint style="warning" %}

#### カスタマー ホスト型

Flosum アプリを自社インフラでホストする顧客は、アプリにログインするためのカスタム URL を持ちます。このドキュメントを使用する際は、任意の部分を置き換えてください **Flosum ホスト型の URL** を自分の URL に置き換えてください。
{% endhint %}

### 手順の概要

* **Google IDP でクライアントを作成する**
* **リダイレクト URL を設定する**
* **Client ID と Client Secret を取得する**
* **Flosum グローバル設定で Identity Provider を作成する**
* **SSO をテストする**

## Flosum Cloud Apps 用の Google IDP の設定

このセクションでは、SSO で Flosum Cloud Apps と連携するように Google IDP を設定する方法を説明します。

{% stepper %}
{% step %}

### Google Cloud Console で OAuth クライアント ID を作成する

1. Google Cloud Console にアクセスします。
2. に移動します **API とサービス** セクションの下にあります。
3. を選択します **認証情報**.
4. クリック **認証情報を作成**.
5. ドロップダウン メニューから、 **OAuth クライアント ID**.

   <div align="left"><figure><img src="https://lh6.googleusercontent.com/_XUmgld4tNU9OtlPN1aJCk5P2nTZA0jm5grpeN1tsxLBaxtGdteS2eaCslT-x6eppnEtuFzoAWm42iYYcmoUlKnDVdfsr9uPiCgH4cCazbelZqenXmPFgI9NW_3MvEoFHoMawB3uObigzJhk" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### アプリケーションの種類と名前を指定する

1. 次の **アプリケーションの種類** セクションで、適切なオプションを選択します（例： **ウェブ アプリケーション**).
2. 次の **名前** フィールドにアプリケーション名を入力します。

   <div align="left"><figure><img src="https://lh4.googleusercontent.com/-GwXBWN1CX-l-LFx2zS7CyDDEoCxR2T1TRrqp4fJU-UNAPd-kIiGdwJ6J7AqBT2X3LMOX81zaZYgUx_C708vsM_rL_U97uUIJaxuikg74VLnRuI0m35rePmFzzgdHJvEJgDfKWQLIDgKXSEC" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

#### 承認済みのリダイレクト URI を構成して認証情報を取得する

1. 次の **承認済みのリダイレクト URI** セクションで、SSO で使用する各 Flosum Cloud App の地域の URL を追加します。お使いの地域の URL については、以下の表を参照してください。

{% tabs %}
{% tab title="米国のURL" %}

<table><thead><tr><th width="180">Flosum Cloud App</th><th>コールバックURL</th></tr></thead><tbody><tr><td>グローバル設定</td><td>https://global-us.flosum.app/api/v1/oauth/callback</td></tr><tr><td>バックアップ＆アーカイブ</td><td>https://backup-us.flosum.app/api/v1/oauth/callback</td></tr><tr><td>DevOps</td><td>https://devops-us.flosum.app/api/v1/oauth/callback</td></tr></tbody></table>
{% endtab %}

{% tab title="ドイツのURL" %}

<table><thead><tr><th width="180">Flosum Cloud App</th><th>コールバックURL</th></tr></thead><tbody><tr><td>グローバル設定</td><td>https://global-de.flosum.app/api/v1/oauth/callback</td></tr><tr><td>バックアップ＆アーカイブ</td><td>https://backup-de.flosum.app/api/v1/oauth/callback</td></tr><tr><td>DevOps</td><td>https://devops-de.flosum.app/api/v1/oauth/callback</td></tr></tbody></table>
{% endtab %}

{% tab title="日本のURL" %}

<table><thead><tr><th width="180">Flosum Cloud App</th><th>コールバックURL</th></tr></thead><tbody><tr><td>グローバル設定</td><td>https://global-jp.flosum.app/api/v1/oauth/callback</td></tr><tr><td>バックアップ＆アーカイブ</td><td>https://backup-jp.flosum.app/api/v1/oauth/callback</td></tr><tr><td>DevOps</td><td>https://devops-jp.flosum.app/api/v1/oauth/callback</td></tr></tbody></table>
{% endtab %}

{% tab title="オーストラリアのURL" %}

<table><thead><tr><th width="180">Flosum Cloud App</th><th>コールバックURL</th></tr></thead><tbody><tr><td>グローバル設定</td><td>https://global-au.flosum.app/api/v1/oauth/callback</td></tr><tr><td>バックアップ＆アーカイブ</td><td>https://backup-au.flosum.app/api/v1/oauth/callback</td></tr><tr><td>DevOps</td><td>https://devops-au.flosum.app/api/v1/oauth/callback</td></tr></tbody></table>
{% endtab %}
{% endtabs %}

2. クリック **作成**. **注**：作成後、クライアントの認証情報がダイアログ बॉक्सに表示されます。次の手順のためにこの画面を開いたままにしてください。

   <div align="left"><figure><img src="https://lh6.googleusercontent.com/4yFlMkTY7LLaXvIWuB5dSIPqNvuqxTvQIveJWJqG8v19OgZ3tAdKNXcpUWw38LIauCG90DSh57oIGsE4K_Y-GrMtgLTExvlacuBDm0qgklumFrqCYPeKItLt4LXR94bBBwZyIVMuIODoZHKR" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

#### Google IDP のクライアント詳細を取得する

{% hint style="info" %}
必要になるのは **クライアント ID** および **クライアント シークレット** の値は、Flosum グローバル設定で Identity Provider を作成する際に使用します。
{% endhint %}

1. 次をコピーします： **クライアント ID** の値です。
2. 次をコピーします： **クライアント シークレット** の値です。

   <div align="left"><figure><img src="https://lh5.googleusercontent.com/S6avWV0kQ7YnIS2z9_jBuKlLo29Sx8IoBZSSrIjK1bQ_lWKIsq7gufkwLHEXF7p295aKc7KigJ9bZASTovr6yP63ussIaBhzWSJJ9bOiWJqswAJp8VAAaFhi4Pcxw9hD1Z2NpQyJhNIRxIBn" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="info" %}
その **発行者 URL** は、ほとんどの設定で次のとおりです： `https://accounts.google.com` 。ただし、URL が異なる場合は、確認してコピーすることを推奨します。
{% endhint %}
{% endstep %}
{% endstepper %}

## グローバル設定で Identity Provider を作成する

{% stepper %}
{% step %}

### Identity Provider を作成する

以下の記事の一般的な指示に従って、OIDC アイデンティティプロバイダーの作成を開始してください。

1. [ID プロバイダー（SSO）の追加](/global-settings/global-settings-docs-ja/sekyuriti/id-purobaidsso/id-purobaidssono-1.md)
2. を完了します **基本情報** セクション。
   1. を選択します **OPEN\_ID** アイデンティティプロバイダー用 **タイプ**.
3. を完了します **ボタン情報** セクション。
4. (オプション) を完了します **グループ情報** セクション。

**OpenId 情報フィールドを入力する**

Google IDP アプリケーションの情報を OpenId 情報セクションにコピーします。どの Google IDP フィールドをどの Flosum フィールドに入力するかは、表で説明されています。最後のスクリーンショットには、Google IDP OIDC アプリケーション向けに設定が完了したアイデンティティ プロバイダーが表示されています。

上記の各セクションでは、 **Google IDP フィールド** 列にある値を見つける方法を説明しています。

| Flosum フィールド     | Google IDP フィールド                              |
| ---------------- | --------------------------------------------- |
| **クライアント ID**    | **クライアント ID**                                 |
| **クライアントシークレット** | **クライアント シークレット**                             |
| **Issuer**       | `https://accounts.google.com`  （特に明記されていない限り） |

<div align="left"><figure><img src="https://1457003412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2F8qq4982KeRDETD2cZHIP%2FGoogleIdpOidcConfig-CreateIdentityProvider-01.png?alt=media&amp;token=329a283c-f16b-46cf-a382-19e1e9202498" alt="" width="563"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### 保存してテスト

{% hint style="info" %}
SSOでのログイン方法については、以下の記事を参照してください。

* [SSO でログインする](/global-settings/global-settings-docs-ja/sekyuriti/id-purobaidsso/sso-deroguinsuru.md)
  {% endhint %}

1. クリック **保存** でアイデンティティプロバイダーを保存します。
2. テストするには、シークレットウィンドウ（プライベートブラウズ）を開いてください。
3. テナント名でグローバル設定へのログインを開始します。
4. アイデンティティプロバイダーが正常に構成されていれば、作成したSSOボタンが表示されるはずです。&#x20;

<div align="left"><figure><img src="https://1457003412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsEk2hU5IMh3HEY5dJZjR%2Fuploads%2FMqMNcUxDk0VfgScGf8rG%2FGoogleIdpOidcConfig-CreateIdentityProvider-02.png?alt=media&amp;token=d1f2cb2e-9675-4ba1-b9a5-e27138edf79e" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flosum.com/global-settings/global-settings-docs-ja/sekyuriti/id-purobaidsso/oidc-id-purobaid/google-idp-oidc-she-ding.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
