OneLogin は SSO による ID 管理を提供します。Cloudflare Access は OIDC ID プロバイダーとして OneLogin に対応しています。
-
OneLogin の管理者ポータルにログインします。
-
Applications > Applications を開き、Add App を選択します。
-
OIDCを検索し、OneLogin, Inc. の OpenId Connect (OIDC) を選択します。 -
Display Name にアプリケーション名を入力します。Save を選択します。
-
次に Configuration を開きます。Redirect URI に次の URL を入力します。
https://<your-team-name>.cloudflareaccess.com/cdn-cgi/access/callbackチーム名は、Cloudflare ダッシュボード ↗ の Settings > Team name and domain > Team name で確認できます。
-
Save を選択します。
-
Access を開き、このアプリケーションにアクセスできる Roles を選びます。Save を選択します。
-
SSO を開き、Show client secret を選択します。
-
Client ID と Client Secret をコピーします。
-
Cloudflare ダッシュボード ↗ で Zero Trust > Integrations > Identity providers を開きます。
-
Your identity providers で Add new identity provider を選択します。
-
OneLogin を選択します。
-
次の情報を入力します。
- Name: ID プロバイダーの名前を付けます。
- App ID: OneLogin の client ID を入力します。
- Client secret: OneLogin の client secret を入力します。
- OneLogin account URL: OneLogin のドメインを入力します。例:
https://<your-domain>.onelogin.com。
-
(任意)SCIM を有効にする場合は、ユーザーとグループを同期する を参照してください。
-
(任意)Optional configurations で、ユーザーの ID に追加したい カスタム OIDC クレーム を入力します。
-
Save を選択します。
接続を確認するには、Integrations > Identity providers を開き、OneLogin の横にある Test を選択します。
{
"config": {
"client_id": "<your client id>",
"client_secret": "<your client secret>",
"onelogin_account": "https://mycompany.onelogin.com"
},
"type": "onelogin",
"name": "my example idp"
}