Can't pull from private Gitlab repository protected by 2-factor authentication #2278
-
Bug reportI can't pull from private Gitlab repository when my account is protected by 2-factor authentication Expected behavior and actual behaviorI am attempting to access a private Gitlab repo for use with Nextflow's pipeline sharing functionality, but am getting the error below; when I disable 2FA, the error goes away. Steps to reproduce the problemI've created a Gitlab access token with api, read_api, and read_repository permissions, and created a
Then, I ran Program outputWhen run with 2FA enabled, I get the following error
Environment
Additional contextI'm surprised I need to enter both password and token: per the GitLab documentation:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @ghbillings , Could you please try again after specifying the value of |
Beta Was this translation helpful? Give feedback.
Hi @ghbillings ,
Could you please try again after specifying the value of
token
forpassword
field in thescm
file as well?