glab auth status

From wikieduonline
Jump to navigation Jump to search

glab auth status
gitlab.com
  ✓ Logged in to gitlab.com as XXXXX (~/Library/Application Support/glab-cli/config.yml)
  ✓ Git operations for gitlab.com configured to use ssh protocol.
  ✓ API calls for gitlab.com are made over https protocol.
  ✓ REST API Endpoint: https://gitlab.com/api/v4/
  ✓ GraphQL Endpoint: https://gitlab.com/api/graphql/
  ✓ Token found: **************************

Errors[edit]

glab auth status

gitlab.com
  x gitlab.com: API call failed: GET https://gitlab.com/api/v4/user: 401 {message: 401 Unauthorized}
  ✓ Git operations for gitlab.com configured to use ssh protocol.
  ✓ API calls for gitlab.com are made over https protocol.
  ✓ REST API Endpoint: https://gitlab.com/api/v4/
  ✓ GraphQL Endpoint: https://gitlab.com/api/graphql/
  ! No token found (checked config file, keyring, and environment variables). 

   ERROR
 

  x could not authenticate to one or more of the configured GitLab instances..

Related[edit]

See also[edit]

Advertising: