glab auth

Authenticate with a GitLab host. More information: https://glab.readthedocs.io/en/latest/auth.

glab auth login

glab auth login --token {{token}}

glab auth status

glab auth login --hostname {{gitlab.example.com}}