このガイドでは、Cloudflare One で Google Cloud ↗ を SAML アプリケーションとして設定する方法を説明します。
- Cloudflare One に設定済みの ID プロバイダー
- Google Workspace アカウントの管理者権限
- 組織の Google Cloud アカウントで Cloud Identity Free または Premium ↗ が設定されていること
- Cloudflare ダッシュボード ↗ で Zero Trust > Access controls > Applications を開きます。
- Create new application > SaaS application を選びます。
- Application で Google Cloud を選びます。
- 認証プロトコルで SAML を選びます。
- Add application を選びます。
- 次の項目を入力します。
- Entity ID:
google.com - Assertion Consumer Service URL:
https://www.google.com/a/<your_domain.com>/acs - Name ID format: Email
- Entity ID:
- SSO endpoint、Access Entity ID or Issuer、Public key をコピーします。
- アプリケーションの Access ポリシー を設定します。
- アプリケーションを保存します。
- Cloudflare One のアプリケーション設定から Public key をテキストエディターに貼り付けます。
- 証明書を
-----BEGIN CERTIFICATE-----と-----END CERTIFICATE-----で囲みます。 - 拡張子を
.crtにして保存します。
- Google Admin console ↗ で Security > Authentication > SSO with third party IdP を開きます。
- Third-party SSO profile for your organization > Add SSO Profile を選びます。
- Set up SSO with third-party identity provider をオンにします。
- 次の情報を入力します。
- Sign-in page URL: Cloudflare One のアプリケーション設定にある SSO endpoint。
- Sign-out page URL:
https://<team-name>.cloudflareaccess.com/cdn-cgi/access/logout。<team-name>は Cloudflare One の チーム名 です。 - Verification certificate: 2. x.509 証明書を作成する で保存した
.crtファイルをアップロードします。
- (任意)Use a domain specific issuer をオンにします。このオプションを選ぶと、Google は標準の
google.comではなく、Google Cloud ドメイン固有の issuer(google.com/a/<your_domain.com>)を送信します。
シークレット(Incognito)ウィンドウで、Google Cloud の URL(https://console.cloud.google.com/a/<your_domain.com>)を開きます。スーパー管理者以外の認証情報でサインインします。
Error: "G Suite - This account cannot be accessed because the login credentials could not be verified."
このエラーは、公開鍵と秘密鍵が一致していない場合に表示されることがあります。証明書ファイルに正しい公開鍵が含まれていることを確認してください。