Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
Register now

glab: 401 Unauthorized (HTTP 401) ... doesn't use configured credentials if stdout is not terminal

I just upgrade glab using brew (version glab 1.62.0 (1df2df0d)) And I noticed error when I tried to process stdout with diferrent process. For example this works just fine

$ glab api /runners
[ ... ]

but this returns 401 Unauthorized error

$ glab api /runners | cat 
glab: 401 Unauthorized (HTTP 401)
{"message":"401 Unauthorized"}%                        

I am running on machine

% uname -a
Darwin workprog.local 24.5.0 Darwin Kernel Version 24.5.0: Tue Apr 22 19:53:26 PDT 2025; root:xnu-11417.121.6~2/RELEASE_X86_64 x86_64

Previous version glab 1.61.0 (ef3ade5e) works without issue.

Edited Jul 10, 2025 by Solargis Admins
Assignee Loading
Time tracking Loading