检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
尽管请求URI包含在请求消息头中,但大多数语言或框架都要求您从请求消息中单独传递它,所以在此单独强调。 URI-scheme:表示用于传输请求的协议,当前所有API均采用HTTPS协议。 domain_name:使用OneAccess服务API需要使用用户访问域名,获取方法请参见获取用户访问域名。 resource
Id和ClientSecret,redirect_uri配置为应用的回调地址https://example.com,grant_type为固定值authorization_code。 POST https://{domain_name}/api/v1/oauth2/token Content-Type:
RL中: https://auth.huawei.com/authui/federation/websso?domain_id=e35f94************14839c&idp=SAML-OneAccess&protocol=saml&service=https://console
RL中: https://auth.huawei.com/authui/federation/websso?domain_id=e35f94************14839c&idp=SAML-OneAccess&protocol=saml&service=https://console
在OIDC的jwks_uri中获取或由认证源管理员提供,与公钥格式相匹配。 公钥格式为JWKURL时,公钥为 https://{Okta域名}/oauth2/v1/keys。 公钥格式为JSON格式公钥时,公钥为 https://{Okta域名}/oauth2/v1/keys 中的value值。 签名算法 是
ion 请求参数 无 响应参数 无 请求示例 获取基于OpenID Connect的身份提供商IdP的Metadata文件。 GET https://{domain_name}/api/v1/oauth2/.well-known/openid-configuration 响应示例
String 错误编号。 error_msg String 错误详情。 请求示例 删除组织,基于组织id删除指定组织。 DELETE https://{domain_name}/api/v2/tenant/organizations/{org_id} Authorization:
String 错误编号。 error_msg String 错误详情。 请求示例 根据应用id和应用账号id删除指定应用账号。 DELETE https://{domain_name}/api/v2/tenant/applications/{application_id}/accounts/{account_id}
String 错误编号。 error_msg String 错误详情。 请求示例 根据应用id和机构id删除指定的应用机构。 DELETE https://{domain_name}/api/v2/tenant/applications/{application_id}/organizations/{org_id}
String 错误编号。 error_msg String 错误详情。 请求示例 禁用用户,根据传入的user_id禁用用户。 PUT https://{domain_name}/api/v2/tenant/users/{user_id}/disable Authorization:
error_code String 错误码。 error_msg String 错误详情。 请求示例 获取用户已绑定的社交账号列表。 GET https://{domain_name}/api/v2/sdk/social X-operating-sys-version: Android
String 错误编号。 error_msg String 错误详情。 请求示例 根据应用id和应用账号id禁用指定应用账号。 PUT https://{domain_name}/api/v2/tenant/applications/{application_id}/account
String 错误编号。 error_msg String 错误详情。 请求示例 根据应用id和机构id查询指定机构的详情。 GET https://{domain_name}/api/v2/tenant/applications/{application_id}/organizations/{org_id}
错误类型。 error_description String 错误描述。 请求示例 基于access_token 查询用户信息。 GET https://{domain_name}/api/v1/oauth2/userinfo Authorization: Bearer b7e1f
String 错误编号。 error_msg String 错误详情。 请求示例 查询组织详情,基于组织id查询指定组织详情。 GET https://{domain_name}/api/v2/tenant/organizations/{org_id} Authorization:
错误编号。 error_msg String 错误详情。 请求示例 根据应用id和角色id修改应用侧角色,修改角色名称为管理员2。 PUT https://{domain_name}/api/v2/tenant/applications/{application_id}/role/{role_id}
error_code String 错误编号。 error_msg String 错误详情。 请求示例 校验原密码修改用户密码。 PUT https://{domain_name}/api/v2/tenant/users/{user_id}/change-password-verify
String 错误编号。 error_msg String 错误详情。 请求示例 根据应用id和角色id查询指定应用侧角色详情。 GET https://{domain_name}/api/v2/tenant/applications/{application_id}/role/{role_id}
用户已在用户门户网站激活了动态口令,具体操作请参见账号安全设置。 操作步骤 用户进入用户门户登录页面。 请联系企业管理员获取用户访问域名,如https://example.huaweioneaccess.com。 用户在登录页面选择“动态口令”登录。 默认为“用户名/邮箱”登录,输入用户名/邮箱和收到的动态口令。
证码为1234,邮箱为12345678901@example.com,密码为Q******3。自定义扩展字段年龄值为18。 POST https://{domain_name}/api/v2/sdk/register/mobile-verify-code X-operating-sys-version: