glab auth status

Category: GitLab

glab auth status

Show the authenticated GitLab account

Prints which GitLab host and username glab is currently authenticated as, plus the token expiry when known. Run this first when API calls fail with authentication errors. Add -a to see every host stored in the config.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.