ezbz / gitlabber

Gitlabber - clones or pulls entire groups tree from gitlab
MIT License
483 stars 80 forks source link

Does it work if my workspace is using SSO? #80

Closed tcf01 closed 3 years ago

tcf01 commented 3 years ago

As stated, my workspace is using SSO for login. I am not the admin so I have no way to change this setting. And I also see that when I run the following command. It seems to be redirected to the login page which lead to the whole grabbing process fail. Just wanna confirm that. Thank you very much

Command:

gitlabber --verbose dest='<som path>' -t '<personal token>' -u '<url>' -m 'ssh'

Response

2021-06-19 01:43:15,524 - gitlabber.cli - DEBUG - verbose=[True], print=[False], log level set to [10] level
2021-06-19 01:43:15,564 - gitlabber.cli - DEBUG - Reading projects tree from gitlab at [<url>]
2021-06-19 01:43:15,564 - gitlabber.gitlab_tree - DEBUG - Loading projects tree gitlab server [<url>]
2021-06-19 01:43:15,572 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): <url>:443
2021-06-19 01:43:15,841 - urllib3.connectionpool - DEBUG - <url>:443 "GET .../api/v4/groups HTTP/1.1" 302 102
2021-06-19 01:43:16,022 - urllib3.connectionpool - DEBUG - <url>:443 "GET /users/sign_in HTTP/1.1" 200 None
ezbz commented 3 years ago

Since access to the API iURLs s protected with OAUTH I fail to see why putting the API urls under SSO is desirable plus SSO doesn't support basic authentication so I am not sure how a tool developer could circumvent this issue.