コンテンツにスキップ

OneLogin

OneLoginはSSOアイデンティティ管理を提供します。Cloudflare AccessはOneLoginをOIDCアイデンティティプロバイダーとしてサポートしています。

OneLoginをOIDCプロバイダーとして設定する

  1. OneLogin管理ポータルにログインします。

  2. Applications > Applicationsに移動し、Add Appを選択します。

  3. OIDCを検索し、OneLogin, Inc.の**OpenId Connect (OIDC)**を選択します。

  4. Display Nameにアプリケーションの任意の名前を入力します。Saveを選択します。

  5. 次に、Configurationに移動します。Redirect URIフィールドに以下のURLを入力します:

    https://<your-team-name>.cloudflareaccess.com/cdn-cgi/access/callback

    チーム名はZero TrustのSettings > Custom Pagesで確認できます。

  6. Saveを選択します。

  7. Accessに移動し、このアプリケーションにアクセスできるRolesを選択します。Saveを選択します。

  8. SSOに移動し、Show client secretを選択します。

  9. Client IDClient Secretをコピーします。

  10. Zero Trustに移動し、Settings > Authenticationに進みます。

  11. Login methodsの下で、Add newを選択します。

  12. OneLoginを選択します。

  13. 次の情報を入力します:

    • Name: アイデンティティプロバイダーの名前を付けます。
    • App ID: OneLoginクライアントIDを入力します。
    • Client secret: OneLoginクライアントシークレットを入力します。
    • OneLogin account URL: OneLoginドメインを入力します(例:https://<your-domain>.onelogin.com)。
  14. (オプション)Optional configurationsの下で、Accessのアプリケーショントークンに追加したいカスタムOIDCクレームを入力します。

  15. Saveを選択します。

接続が正常に動作しているかテストするには、Authentication > Login methodsに移動し、OneLoginの横にあるTestを選択します。

例 API 設定

{
"config": {
"client_id": "<your client id>",
"client_secret": "<your client secret>",
"onelogin_account": "https://mycompany.onelogin.com"
},
"type": "onelogin",
"name": "my example idp"
}