glab auth credential-helper not working outside of git repository
## Problem ```sh [I] ~ $ cd /tmp && glab auth credential-helper {"type":"error","message":"fatal: not a git repository (or any of the parent directories): .git\ngit: exit status 128"} ``` We need the credential helper (introduced in https://gitlab.com/gitlab-org/cli/-/merge_requests/2770+) to work in non-git folders since Duo CLI doesn't need git folder to run. Same issue is when the remotes don't match configured token: ```sh glab auth credential-helper {"type":"error","message":"none of the git remotes configured for this repository point to a known GitLab host. Please use `glab auth login` to authenticate and configure a new host for glab.\n\nConfigured remotes: github.com, n"} ``` ## Solution ??
issue