配置 DUO 外部 MFA 提供程序

将 DUO 配置为外部多因素身份验证提供商。

准备工作

请确保您已从 API 客户机获取访问令牌。

过程

使用以下 CURL 示例来创建 DUO 外部 MFA 提供程序。

在此示例中,替换以下值。
{{tenant}}
您的 Verify 租户名称。
{{access token}}
通过客户机凭证授权获取的访问令牌。
{{webhook id}}
DUO 实时 webhook 的。 id
{{attribute name}}
Verify 属性的名称,用于定义从 Verify 用户帐户属性到您的 DUO 用户名的映射。 该属性可以是标准预定义属性之一或定制属性,包括高级规则支持的那些属性。

DUO 外部 MFA 提供程序示例

curl --location --request POST 'https://{{tenant}}/config/v1.0/mfaproviders' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{access token}}' \
--data-raw '{
    "name": "DUO Security",
    "description": "ISV - DUO integration",
    "enabled": true,
    "type": "duo",
    "credentialPrefix": "duo",
    "webhookId": "{{webhook id}}",
    "uniqueNameAttribute": "{{attribute name}}",
    "capabilities": [
        "smsotp",
        "push",
        "hotp"
    ],
    "capabilityCacheTtl": 0
}'