
iqpv8 (iqpv8) asked a question.
Hi,
We are integrating Okta into out Gitlab instance and the SAML authentication part is done and we are able to login to Gitlab just by clicking the icon in Okta.
Using command line, when users are trying to clone their repositories, they are able to go an SSH clone (by SSH key added into Gitlab) . However, when they try to clone using HTTPS, there is a prompt for username and password, but when we give the Okta credentials, it fails. Has anyone encountered this issue or can you advise what credentials we should be using on command line?

Hi Mohammed,
Thank you for posting this in Okta community. Unfortunately we do not have any documentation regarding this integration. I would suggest reaching out to Gitlab to see what input is the prompt expecting and what must be provided when reaching that point. This issue should be further investigated into so I could also suggest to open a support ticket with us so we determine if that prompt is hitting Okta or not so we could determine the following steps. You can open a case with us at https://support.okta.com/help/s/.
Andrei Popescu
Technical support engineer
Okta Global Customer Care
Just needed to figure this out myself. You'll need a Personal Access Token on GitLab and then use that as your password to authenticate with HTTPS, using your GitLab username.