このガイドでは、GitHub Enterprise Cloud ↗ を Cloudflare One の SAML アプリケーションとして設定する方法を説明します。
- Cloudflare One に設定済みの ID プロバイダー
- GitHub Enterprise Cloud のサブスクリプション
- organization のオーナーとして GitHub アカウントにアクセスできること
- Cloudflare ダッシュボード ↗ で Zero Trust > Access controls > Applications を開きます。
- Create new application > SaaS application を選択します。
- Application で GitHub を選択します。
- 認証プロトコルで SAML を選択します。
- Add application を選択します。
- 次の項目を入力します。
- Entity ID:
https://github.com/orgs/<your-organization> - Assertion Consumer Service URL:
https://github.com/orgs/<your-organization>/saml/consume - Name ID format: Email
- Entity ID:
- SSO endpoint、Access Entity ID or Issuer、Public key をコピーします。
- アプリケーションの Access ポリシー を設定します。
- アプリケーションを保存します。
- テキストエディターに Public key を貼り付けます。
- 証明書を
-----BEGIN CERTIFICATE-----と-----END CERTIFICATE-----で囲みます。
- GitHub の organization ページで Settings > Authentication security を開きます。
- SAML single sign-on で Enable SAML authentication をオンにします。
- 次の項目を入力します。
- Sign on URL: Cloudflare One のアプリケーション設定にある SSO endpoint
- Issuer: Cloudflare One のアプリケーション設定にある Access Entity ID or Issuer
- Public certificate: 2. X.509 証明書を作成する で作った x.509 証明書全体を貼り付けます。
Test SAML configuration を選択します。Cloudflare Access のログイン画面にリダイレクトされ、ID プロバイダーでのサインインを求められます。 成功したら Save を選択します。
組織の全メンバーに Cloudflare Access での SSO ログインを必須にする場合は、Require SAML SSO authentication for all members of your organization もオンにできます。