Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[che-dev] Passing credentials to GitProjectImporter

Hello, I have a question regarding the

/project/{ws-id}/import/{path:.*} api when used in conjunction with GitProjectImporter.

When attempting to import a project through git url, I noticed there are no credentials for connecting to git repository being passed within the parameters of the import request.

As I understand it, when gitProjectImporter attempts to clone repository, appropriate CredentialsProvider is fetched from CredentialsLoader.
And the CredentialsProvider is supposed to fetch the credentials from the clone command request (I am talking about https authentication flow).

 

As it is now , credentials are impossible to fetch from the clone command, because they are not put there in GitProjectImporter. So my question is : is https authentication not supported currently in this api ? if they are how are the credentials passed to the git command request ?

 


Back to the top