Factory link support on password protected git repositories #17829
Labels
area/factory/dashboard
Issues related to factories frontend (che user dashboard side)
area/factory/server
Server side of factory implementation
kind/enhancement
A feature request - must adhere to the feature request template.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
severity/P2
Has a minor but important impact to the usage or development of the system.
Is your enhancement related to a problem? Please describe.
If a git repository contains a devfile and a Che instance is available at https://my-che-sever.com, starting a Che workspace is just a matter of opening a link like the following one:
That works fine if the git server is not password protected. But doesn't work at all if the git server requires authentication to access my-git-repo. Even if the user has setup its git credentials for his Che workspaces.
Describe the solution you'd like
If available we should leverage the user git credentials to get the devfile. Otherwise we should prompt the user for his credentials.
Technically speaking we may work on #15973 first so that the cloning of the git repo (if it hasn't been done yet) happens before the workspace starts and we would be able to get the devfile then.
The text was updated successfully, but these errors were encountered: