how to user name and password in git url for plugin?

how to user name and password in git url for plugin?

  

Can anyone tell me if there is a possibility to send the user and password in the github url?

The github repo is private , but I have the name and pw of an authorized user.

"plugin":
    {
        "url": "https://github.com/thirdpartycorp/interestingcordovaplugin.git",
    }

Solution

Hello Patrice,

Had you tried this?

"plugin":
    {
        "url": "https://user:pass@github.com/thirdpartycorp/interestingcordovaplugin.git",
    }

Cheers

Eduardo Jauch

Solution

P.S, 

While this works (I think), your user/pass will be visible and available to everybody that has access to the plugin config.

So, keep this in mind...

Cheers

Eduardo Jauch

Eduardo Jauch wrote:

P.S, 

While this works (I think), your user/pass will be visible and available to everybody that has access to the plugin config.

So, keep this in mind...

Cheers

Eduardo Jauch

Yes that works! Indeed, credentials are sent in clear text. No way around that I suppose..

Thanks  for the quick reply!

Cheers,

Patrice


Hello Patrice,

Glad to be of help :)
Consider marking the answer as correct, as to facilitate life of other users when looking for similar questions :)

Cheers,
Eduardo Jauch