-
Notifications
You must be signed in to change notification settings - Fork 44
Access to secure template repositories #2647
Comments
/assign |
fyi GitHub is deprecating some authentication methods in October, which may affect our design https://developer.github.com/changes/2019-11-05-deprecated-passwords-and-authorizations-api/ . However GitHub Enterprise seems to be unaffected for now:
|
To start with I can get Beyond this it would be useful to flesh out the user experience, so we can design the implementation. For example it'd be good to know:
|
Scope for 0.12:
Feedback from this:
|
Next step is to support Personal Access Tokens as well as username/password
After that we need to support storing and reusing git credentials. We will need a solution that fits into the wider Kabanero/ICP4a story (fyi @cccanderson). We'll pause work on this until we hear more details (One way we could do it is:
|
Assigning myself to help with documentation work. |
/assign |
@tetchel @sishida Step 1 Step 2
Step 3
Step 4
Step 5 (only for method 1) Where: fourth dropdown prompt Content:
|
The types of credential to support are
These all need to be sent as the bearer token when making api requests. We can store the information in the keychain (much like we do for docker registry) through cwctl |
@tetchel |
Are you saying that in the front end, these method should be separate? We decided to combine the Personal access token and the secure template token in one input (method 2, above). |
Okay, so currently the user of As per the design above, we want I will make Future steps:
|
Hi, team, Just chiming in for ID that it would be great to get ID review for the messages that appear with this design. When you're ready with a PR that includes messages, please request an ID team member to look them over. Thank you! |
Some improvements and refactorings to the template sources page eclipse-archived/codewind#2647 Signed-off-by: Tim Etchells <[email protected]>
Some improvements and refactorings to the template sources page eclipse-archived/codewind#2647 Signed-off-by: Tim Etchells <[email protected]>
@sishida Step 2 Step 3 Step 4
Step 5 Step 6 Step 7 Step 8 |
It adds new steps to https://www.eclipse.org/codewind/workingwithtemplates.html#adding-your-template-sources-to-codewind After step 2, you receive a prompt that says the source could not be accessed, and may require authentication. |
I want to link the remaining issue #3153 from this epic - we are having mixed results getting username and password authentication to work in GitHub and GHE. |
Currently Codewind only supports accessing template repos that are accessible via http. We should also support repos that are https (self-signed/any cert for now) and require authentication.
We should allow the user to optionally enter a user and password along with the repo URL, and use this when connecting to it. Priority should be on the Appsody and odo vNext repos, we do not need to support this for the Codewind style.
The text was updated successfully, but these errors were encountered: