-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add oauth to tests #670
Add oauth to tests #670
Conversation
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
NOT ready for review yet |
Codecov Report
@@ Coverage Diff @@
## master #670 +/- ##
=======================================
Coverage 28.51% 28.51%
=======================================
Files 47 47
Lines 4998 4998
=======================================
Hits 1425 1425
Misses 3364 3364
Partials 209 209 Continue to review full report at Codecov.
|
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
/retest |
Signed-off-by: Flavius Lacatusu <flacatus@redhat.com>
.github/bin/oauth-provision.sh
Outdated
# Obtain from Keycloak the token to make api request authentication | ||
IDP_TOKEN=$(curl -k --location --request POST ''$IDP_HOST'/auth/realms/master/protocol/openid-connect/token' \ | ||
--header 'Content-Type: application/x-www-form-urlencoded' \ | ||
--data-urlencode 'username='$CHE_USERNAME'' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDP_USER
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: flacatus, tolusha The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Flavius Lacatusu flacatus@redhat.com
What does this PR do?
This PR cover all our openshift tests with OAUTH.
Reff issue: eclipse-che/che#17939
Screenshot/screencast of this PR
What issues does this PR fix or reference?
How to test this PR?
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.