> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trae.cn/llms.txt
> Use this file to discover all available pages before exploring further.

单点登录（Single Sign-On，SSO）功能允许企业成员使用公司统一的身份认证体系登录 TRAE。

## SSO 登录流程概览 {#hfaVfJ7vx}

<div class="flow-chart-container"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="-0.5 -0.5 1055 826"><defs><linearGradient x1="0%" y1="0%" x2="0%" y2="100%" id="mx-gradient-d4e1f5-1-ffffff-1-s-9120-0"><stop offset="0%" style="stop-color:#D4E1F5"/><stop offset="100%" style="stop-color:#ffffff"/></linearGradient><linearGradient x1="0%" y1="0%" x2="0%" y2="100%" id="mx-gradient-e1d5e7-1-ffffff-1-s-9120-0"><stop offset="0%" style="stop-color:#E1D5E7"/><stop offset="100%" style="stop-color:#ffffff"/></linearGradient><linearGradient x1="0%" y1="0%" x2="0%" y2="100%" id="mx-gradient-ffcccc-1-ffffff-1-s-9120-0"><stop offset="0%" style="stop-color:#FFCCCC"/><stop offset="100%" style="stop-color:#ffffff"/></linearGradient><linearGradient x1="0%" y1="0%" x2="0%" y2="100%" id="mx-gradient-d5e8d4-1-ffffff-1-s-9120-0"><stop offset="0%" style="stop-color:#D5E8D4"/><stop offset="100%" style="stop-color:#ffffff"/></linearGradient></defs><g><rect x="2" y="2" width="120" height="60" rx="9" ry="9" fill="url(#mx-gradient-d4e1f5-1-ffffff-1-s-9120-0)" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 32px; margin-left: 3px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">用户</div></div></div></foreignObject></g><rect x="642" y="2" width="120" height="60" rx="9" ry="9" fill="url(#mx-gradient-e1d5e7-1-ffffff-1-s-9120-0)" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 32px; margin-left: 643px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">TRAE 的账号服务</div></div></div></foreignObject></g><rect x="912" y="2" width="140" height="60" rx="9" ry="9" fill="url(#mx-gradient-ffcccc-1-ffffff-1-s-9120-0)" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 32px; margin-left: 913px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">企业的身份认证服务</div></div></div></foreignObject></g><path d="M 62 822 L 62 62" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path d="M 422 62 L 422 42" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path d="M 701.5 822 L 701.5 62" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path d="M 981.5 822 L 981.5 62" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path d="M 62 102 L 416.63 102" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 421.88 102 L 414.88 105.5 L 416.63 102 L 414.88 98.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="102" y="82" width="274" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 272px; height: 1px; padding-top: 92px; margin-left: 103px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div><div style="color:rgb(31, 35, 41)"><p><font style="font-size:12px">访问 TRAE 登录页面, 选择「企业 SSO 登录」</font></p></div></div><font style="font-size:12px"><span></span></font></div></div></div></foreignObject></g><path d="M 423 142 L 68.37 142" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 63.12 142 L 70.12 138.5 L 68.37 142 L 70.12 145.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="219" y="122" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 132px; margin-left: 239px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">展示邮箱输入页面</div></div></div></foreignObject></g><path d="M 62 182 L 416.63 182" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 421.88 182 L 414.88 185.5 L 416.63 182 L 414.88 178.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="219" y="162" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 172px; margin-left: 239px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">输入企业邮箱</div></div></div></foreignObject></g><path d="M 422 222 L 695.63 222" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 700.88 222 L 693.88 225.5 L 695.63 222 L 693.88 218.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="352" y="2" width="140" height="60" rx="9" ry="9" fill="url(#mx-gradient-d5e8d4-1-ffffff-1-s-9120-0)" stroke="#000000" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 32px; margin-left: 353px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; ">TRAE 企业版控制台</div></div></div></foreignObject></g><path d="M 422 822 L 421.59 62" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><rect x="542" y="202" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 212px; margin-left: 562px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">请求 SSO 登录</div></div></div></foreignObject></g><path d="M 702 262 L 742 262" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 742 302 L 742 262" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 742 302 L 708.37 302" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 703.12 302 L 710.12 298.5 L 708.37 302 L 710.12 305.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="782" y="272" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 282px; margin-left: 802px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">匹配企业 SSO 配置</div></div></div></foreignObject></g><path d="M 702 342 L 428.37 342" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path d="M 423.12 342 L 430.12 338.5 L 428.37 342 L 430.12 345.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="542" y="322" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 332px; margin-left: 562px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">返回企业 SSO 登录地址</div></div></div></foreignObject></g><path d="M 422 382 L 68.37 382" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 63.12 382 L 70.12 378.5 L 68.37 382 L 70.12 385.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="219" y="357" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 367px; margin-left: 239px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">跳转到企业 SSO 登录页面</div></div></div></foreignObject></g><path d="M 62 422 L 977.27 422" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 982.52 422 L 975.52 425.5 L 977.27 422 L 975.52 418.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="462" y="402" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 412px; margin-left: 482px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">完成企业身份认证</div></div></div></foreignObject></g><path d="M 982 462 L 68.37 462" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path d="M 63.12 462 L 70.12 458.5 L 68.37 462 L 70.12 465.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="482" y="442" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 452px; margin-left: 502px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">认证成功，跳转回 TRAE</div></div></div></foreignObject></g><path d="M 62 502 L 416.63 502" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 421.88 502 L 414.88 505.5 L 416.63 502 L 414.88 498.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="219" y="482" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 492px; margin-left: 239px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">携带授权凭证返回</div></div></div></foreignObject></g><path d="M 422 542 L 695.63 542" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 700.88 542 L 693.88 545.5 L 695.63 542 L 693.88 538.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="542" y="522" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 532px; margin-left: 562px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">提交授权凭证</div></div></div></foreignObject></g><path d="M 702 582 L 975.63 582" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 980.88 582 L 973.88 585.5 L 975.63 582 L 973.88 578.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="822" y="562" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 572px; margin-left: 842px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">验证凭证并获取用户信息</div></div></div></foreignObject></g><path d="M 982 622 L 708.37 622" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path d="M 703.12 622 L 710.12 618.5 L 708.37 622 L 710.12 625.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="822" y="602" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 612px; margin-left: 842px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">返回用户身份信息</div></div></div></foreignObject></g><path d="M 702 662 L 742 662" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 742 702 L 742 662" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 742 702 L 708.37 702" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 703.12 702 L 710.12 698.5 L 708.37 702 L 710.12 705.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="802" y="672" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 682px; margin-left: 822px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">确认用户身份，建立登录会话</div></div></div></foreignObject></g><path d="M 702 742 L 428.37 742" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path d="M 423.12 742 L 430.12 738.5 L 428.37 742 L 430.12 745.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="542" y="722" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 732px; margin-left: 562px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">登录成功</div></div></div></foreignObject></g><path d="M 422 782 L 68.37 782" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-dasharray="3 3" pointer-events="stroke"/><path d="M 63.12 782 L 70.12 778.5 L 68.37 782 L 70.12 785.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/><rect x="219" y="762" width="40" height="20" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 1px; height: 1px; padding-top: 772px; margin-left: 239px;"><div style="box-sizing: border-box; font-size: 0; text-align: center; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: #000000; line-height: 1.2; pointer-events: all; white-space: nowrap; ">进入 TRAE IDE</div></div></div></foreignObject></g></g></svg></div>

参与方说明如下：

<!-- @cols-width: 181,675 -->
| | | \
|**角色** |**描述** |
|---|---|
|用户 |希望登录 TRAE 的企业成员。 |
|TRAE 企业版控制台 |企业配置管理平台，用于让企业管理员管理 SSO 登录相关的配置。 |
|TRAE 的账号服务 |TRAE 后端服务，负责 SSO 配置匹配、身份验证和会话管理。 |
|企业的身份认证服务 |企业自有的身份认证服务（IdP），如 Okta、Azure AD、Google Workspace 等。 |

流程说明如下：

<!-- @cols-width: 100,209,548 -->
| | | | \
|**序号** |**步骤** |**描述** |
|---|---|---|
|1 |发起 SSO 登录 |企业成员访问 TRAE 登录页面，选择 “企业 SSO 登录” 方式。 |
|2 |输入企业邮箱 |成员输入企业邮箱地址，系统根据邮箱域名找到对应的 SSO 配置。 |
|3 |跳转企业认证 |TRAE 将该成员的浏览器重定向至企业的 IdP 页面（如 Okta、Azure AD 等）。 |
|4 |完成身份验证 |该成员在企业的 IdP 页面中完成身份验证（支持账号密码、MFA 等方式）。 |
|5 |返回 TRAE |认证成功后，浏览器自动跳转回 TRAE。 |
|6 |登录完成 |TRAE 的账号服务验证该成员的身份信息，建立登录会话，然后将该用户登入 TRAE IDE。 |

## SSO 登录类型 {#himJarT2O}

* **OAuth2.0 登录**：OAuth 2.0 是一种开放授权协议，TRAE 通过授权码流程与企业身份提供方（IdP）交换身份信息，无需直接接触或保存成员在企业身份系统中的登录凭据。企业管理员完成 OAuth 2.0 登录配置后，企业成员只需输入企业邮箱，即可跳转至企业身份提供方完成身份验证，并登录 TRAE 企业版客户端。详情参考 [OAuth2.0 登录](/enterprise/set-up-sso-with-oauth)。
* **云身份登录**：云身份（Cloud Identity）是火山引擎提供的身份管理服务，可用于连接企业现有身份系统与火山引擎云上身份。为 TRAE 企业版配置云身份后，企业成员可以通过云身份完成 SSO 单点登录；管理员也可以将云身份中心设置为 TRAE 企业成员数据源，实现成员与角色的集中管理。详情参考[云身份登录](/enterprise/set-up-sso-with-cloud-identity)。


