Cursor 官方文档中文版
  1. 商业版
Cursor 官方文档中文版
  • 快速入门
    • 简介
    • 安装
    • 常见问题 (FAQ)
  • 使用手册
    • 编辑器迁移
      • 从 VS Code 迁移
      • 从 JetBrains IDE 迁移
    • 支持的语言与框架
      • JavaScript 与 TypeScript
      • iOS 与 macOS(Swift)
      • Java
  • 编辑器
    • AI 生成提交信息
    • 记事本功能(Beta)
    • 键盘快捷键
    • 标签页管理
      • 概述
      • 标签页 vs GitHub Copilot
      • 自动导入依赖
      • 高级功能
    • 智能会话 (Chat)
      • 概述
      • 智能体模式
      • 问答模式
      • 自定义模式
      • 工具集
      • 应用更改
    • ⌘K
      • 概述
      • 终端命令(Cmd+K)
  • 上下文管理
    • 代码库索引
    • AI 行为规则
    • 忽略文件配置
    • 上下文协议 (Model Context Protocol)
    • @ Symbols
      • Overview
      • @Files
      • @Folders
      • @Code
      • @Docs
      • @Git
      • @Web
      • @Definitions
      • @Link
      • @Lint Errors
      • @Recent Changes
      • @Cursor Rules
      • @Notepads
      • @Summarized Composers
      • #Files
      • /command
  • 账户
    • 套餐与用量
    • 数据看板
    • 账单管理
    • 商业版
      • 快速入门
      • 成员与角色管理
      • 数据分析
      • 单点登录(SSO)
  • 设置
    • 模型管理
    • 自定义 API 密钥
    • 早期体验计划
  • 故障排除
    • 常见问题
    • 故障排除指南
    • 获取请求 ID
  1. 商业版

单点登录(SSO)

了解如何在 Cursor 中设置 SAML 2.0 单点登录 (SSO),以实现安全的团队身份验证

概述#

SAML 2.0 单点登录 (SSO) 在 Cursor Business 计划中免费提供。这使您可以使用现有的身份提供商 (IdP) 来验证您的团队成员,从而避免了您的团队成员需要拥有 Cursor 帐户并记住另一个密码。 (SAML 2.0 Single Sign-On (SSO) is available at no additional cost on the Cursor Business plan. This enables you to use your existing identity provider (IdP) to authenticate your team members, avoiding the need for your team members to have a Cursor account, and remember another password.)
img

先决条件#

一个 Cursor Business 计划 (A Cursor Business plan)
对您的身份提供商(例如 Okta)的管理访问权限 (Admin access to your identity provider (e.g., Okta))
对您的 Cursor 组织的管理员访问权限 (Admin access to your Cursor organization)

配置步骤#

1.
登录到您的 Cursor 帐户 (Sign in to your Cursor account)
导航到 cursor.com/settings 并使用管理员帐户登录。
2.
找到 SSO 配置 (Locate the SSO configuration)
在设置页面的左下方找到“配置 SSO (Configure SSO)”按钮。
3.
开始设置过程 (Begin the setup process)
单击该按钮以启动 SSO 设置过程,并按照设置向导配置您的身份提供商。
4.
配置您的身份提供商 (Configure your identity provider)
在您的身份提供商(例如 Okta)中: (In your identity provider (e.g., Okta):)
创建一个新的 SAML 应用程序 (Create a new SAML application)
使用 Cursor 中提供的信息配置 SAML 设置 (Configure the SAML settings using the information provided in Cursor)
设置即时 (JIT) 配置,以实现无缝用户访问 (Set up Just-in-Time (JIT) provisioning for seamless user access)

身份提供商设置指南#

有关特定于您的身份提供商的详细设置说明,请参阅以下指南: (For detailed setup instructions specific to your identity provider, refer to the guides below:)
身份提供商指南 (Identity Provider Guides)
SCIM 配置将于 2025 年上半年推出 (SCIM provisioning coming H1 2025)

其他设置#

SSO 强制执行通过管理仪表板进行管理 (SSO enforcement is managed through the admin dashboard)
新用户在通过 SSO 登录时会自动注册到您的组织中 (New users are automatically enrolled in your organization when they sign in through SSO)
用户管理可以直接通过您的身份提供商来处理 (User management can be handled directly through your identity provider)

故障排除#

如果您在设置过程中遇到问题: (If you encounter issues during setup:)
验证您的域名是否已在 Cursor 中验证 (Verify your domain has been verified in Cursor)
确保所有必需的 SAML 属性都已正确映射 (Ensure all required SAML attributes are properly mapped)
检查 SSO 配置是否在您的管理仪表板中启用 (Check that the SSO configuration is enabled in your admin dashboard)
如果用户无法进行身份验证,请确保身份提供商中设置的名字和姓氏与他们在 Cursor 中的名字相匹配 (If a user is unable to authenticate, ensure the first and last name set in the identity provider matches their name in Cursor)
查看上面的指南,获取特定于您的身份提供商的详细设置说明 (Check the guides above for detailed setup instructions specific to your identity provider)
如果您仍然遇到问题,请通过 hi@cursor.com 与我们联系 (If you continue to experience issues, please reach out to us at hi@cursor.com)
修改于 2025-03-31 06:34:39
上一页
数据分析
下一页
模型管理
Built with