Skip to main content

Enabling OAuth App access restrictions for your organization

Organization owners can enable OAuth App access restrictions to prevent untrusted apps from accessing the organization's resources while allowing organization members to use OAuth Apps for their personal accounts.

创建新组织时,默认启用 OAuth App 访问限制。 组织所有者可以随时禁用 OAuth App 访问限制

Warnings:

  • Enabling OAuth App access restrictions will revoke organization access for all previously authorized OAuth Apps and SSH keys. For more information, see "About OAuth App access restrictions."
  • Once you've set up OAuth App access restrictions, make sure to re-authorize any OAuth App that require access to the organization's private data on an ongoing basis. All organization members will need to create new SSH keys, and the organization will need to create new deploy keys as needed.
  • When OAuth App access restrictions are enabled, applications can use an OAuth token to access information about GitHub Marketplace transactions.
  1. 在 GitHub.com 的右上角,单击你的个人资料照片,然后单击“你的组织”。 贵组织在配置文件菜单中
  2. 在组织旁边,单击“设置”。 设置按钮
  3. 在边栏的“集成”部分中,单击 “第三方访问”。
  4. Under "Third-party application access policy," click Setup application access restrictions. Set up restrictions button
  5. After you review the information about third-party access restrictions, click Restrict third-party application access. Restriction confirmation button