As for my understanding, the whole gitlab http request layer is wrong
docs send you to provide private access token (PAT)
but then request to gitlab with bearer token, where PAT cannot be used and the call fails
https://docs.socket.dev/docs/socket-in-your-gitlab-pipeline
https://docs.gitlab.com/user/profile/personal_access_tokens/
I will send PR