Skip to content

Fixup for oauth2 usernames - #185

Merged
mshaposhnik merged 4 commits into
eclipse-che:mainfrom
mshaposhnik:fixup_oauth2
Dec 1, 2021
Merged

mshaposhnik merged 4 commits into
eclipse-che:mainfrom
mshaposhnik:fixup_oauth2

Conversation

@mshaposhnik

@mshaposhnik mshaposhnik commented Nov 24, 2021 •

Copy link
Copy Markdown
Contributor

Signed-off-by: Max Shaposhnik [email protected]

What does this PR do?

When authentication is done using OAuth2 tokens, git credential must have form http://oauth2:<password>@server.com instead of http://<username>:<password>@server.com

Screenshot/screencast of this PR

What issues does this PR fix or reference?

eclipse-che/che#20790

How to test this PR?

Try to perform clone from private GitLab repository. Before fix it will fail. Afret fix, wokring OK.

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

Signed-off-by: Max Shaposhnik <[email protected]>
@che-bot

che-bot commented Nov 24, 2021

Copy link
Copy Markdown
Contributor

❌ E2E Happy path tests failed ❗

See Details

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@mshaposhnik
mshaposhnik marked this pull request as ready for review December 1, 2021 12:16
@che-bot

che-bot commented Dec 1, 2021

Copy link
Copy Markdown
Contributor

❌ E2E Happy path tests failed ❗

See Details

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

Signed-off-by: Max Shaposhnik <[email protected]>
@mshaposhnik
mshaposhnik requested review from sparkoo and xbaran4 and removed request for amisevsk, nickboldt and sleshchenko December 1, 2021 13:10
@che-bot

che-bot commented Dec 1, 2021

Copy link
Copy Markdown
Contributor

✅ E2E Happy path tests succeed 🎉

See Details

Test product:

  • Use comment "[crw-ci-test]" to rerun happy path E2E test.
  • Use comment "[crw-ci-test --rebuild]" to re-build the images and rerun happy path E2E test.

Eclipse Che QE channel: https://mattermost.eclipse.org/eclipse/channels/eclipse-che-qe

@mshaposhnik
mshaposhnik merged commit 6a7c640 into eclipse-che:main Dec 1, 2021
@che-bot che-bot added this to the 7.41 milestone Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants