Skip to main content


SAMLシングルサインオン (SSO) を使う Organization で個人アクセストークンを使うためには、まずそのキーを認可しなければなりません。


Note: If you have a linked identity for an organization, you can only use authorized personal access tokens and SSH keys with that organization, even if SAML is not enforced. You have a linked identity for an organization if you've ever authenticated via SAML SSO for that organization, unless an organization or enterprise owner later revoked the linked identity. For more information about revoking linked identities, see "Viewing and managing a member's SAML access to your organization" and "Viewing and managing a user's SAML access to your enterprise."

Before you can authorize a personal access token or SSH key, you must have a linked SAML identity. If you're a member of an organization where SAML SSO is enabled, you can create a linked identity by authenticating to your organization with your IdP at least once. 詳しい情報については「SAML シングルサインオンでの認証について」を参照してください。

After you authorize a personal access token or SSH key. The token or key will stay authorized until revoked in one of these ways.

  • An organization or enterprise owner revokes the authorization.
  • You are removed from the organization.
  • The scopes in a personal access token are edited, or the token is regenerated.
  • The personal access token expired as defined during creation.
  1. 任意のページの右上で、プロフィール画像をクリックし、続いてSettings(設定)をクリックしてください。

    ユーザバーの [Settings(設定)] アイコン

  2. In the left sidebar, click Developer settings.

  3. 左のサイドバーでPersonal access tokens(個人アクセストークン)をクリックしてください。 個人アクセストークン

  4. Next to the token you'd like to authorize, click Configure SSO. Screenshot of the dropdown menu to configure SSO for a personal access token

  5. To the right of the organization you'd like to authorize the token for, click Authorize. トークン認可ボタン