-
Notifications
You must be signed in to change notification settings - Fork 152
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
[Backport 2.x] Fix issue when using OpenID Authentication with serverBasePath #1946
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Test OIDC with basePath Signed-off-by: Craig Perkins <[email protected]> * Run OIDC tests with basePath Signed-off-by: Craig Perkins <[email protected]> * Run all tests with basePath Signed-off-by: Craig Perkins <[email protected]> * Fix kibana url Signed-off-by: Craig Perkins <[email protected]> * Remove requirement on nextUrl Signed-off-by: Craig Perkins <[email protected]> * Remove duplicate Signed-off-by: Craig Perkins <[email protected]> * Add basePath to acs endpoint Signed-off-by: Craig Perkins <[email protected]> * Update snapshot Signed-off-by: Craig Perkins <[email protected]> * Start IdP where acs contains the basePath Signed-off-by: Craig Perkins <[email protected]> * es:lint --fix Signed-off-by: Craig Perkins <[email protected]> * Generalize SAML tests to include basePath Signed-off-by: Craig Perkins <[email protected]> * Add default Signed-off-by: Craig Perkins <[email protected]> * Use -z Signed-off-by: Craig Perkins <[email protected]> * Cypress env Signed-off-by: Craig Perkins <[email protected]> * Cypress env Signed-off-by: Craig Perkins <[email protected]> * Handle undefined Signed-off-by: Craig Perkins <[email protected]> * Always pass basePath Signed-off-by: Craig Perkins <[email protected]> * Remove ampersand Signed-off-by: Craig Perkins <[email protected]> * Pass basePath in yarn_command Signed-off-by: Craig Perkins <[email protected]> * re-add osd_base_path Signed-off-by: Craig Perkins <[email protected]> * Try ternary Signed-off-by: Craig Perkins <[email protected]> * Start with basePath Signed-off-by: Craig Perkins <[email protected]> * Use separate steps Signed-off-by: Craig Perkins <[email protected]> * Update shortenUrl Signed-off-by: Craig Perkins <[email protected]> * Remove basePath in acs endpoint and fix shorten URL Signed-off-by: Craig Perkins <[email protected]> * Comma-separated env Signed-off-by: Craig Perkins <[email protected]> * update oidc_auth_test.spec.js Signed-off-by: Craig Perkins <[email protected]> * Check cookie after login Signed-off-by: Craig Perkins <[email protected]> * failOnStatusCode false Signed-off-by: Craig Perkins <[email protected]> * mimic SAML Signed-off-by: Craig Perkins <[email protected]> * mimic SAML Signed-off-by: Craig Perkins <[email protected]> * Remove cy.origin Signed-off-by: Craig Perkins <[email protected]> * Add cy.origin back Signed-off-by: Craig Perkins <[email protected]> * Try wrapping in cy.url Signed-off-by: Craig Perkins <[email protected]> * Visit directly Signed-off-by: Craig Perkins <[email protected]> * Try localhost Signed-off-by: Craig Perkins <[email protected]> * Comment out test for now Signed-off-by: Craig Perkins <[email protected]> * Add another request after logout Signed-off-by: Craig Perkins <[email protected]> * Wait for logout Signed-off-by: Craig Perkins <[email protected]> * Small update Signed-off-by: Craig Perkins <[email protected]> * Add base_redirect_url Signed-off-by: Craig Perkins <[email protected]> * Explicitly add minimist as dev dependency Signed-off-by: Craig Perkins <[email protected]> --------- Signed-off-by: Craig Perkins <[email protected]> Co-authored-by: Darshit Chanpura <[email protected]> Co-authored-by: Jialiang Liang <[email protected]> (cherry picked from commit 9662025)
opensearch-trigger-bot
bot
requested review from
cliu123,
cwperks,
DarshitChanpura,
derek-ho,
RyanL1997 and
stephen-crawford
as code owners
May 10, 2024 02:28
cwperks
approved these changes
May 10, 2024
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## 2.x #1946 +/- ##
=======================================
Coverage 69.62% 69.62%
=======================================
Files 96 96
Lines 2453 2453
Branches 329 329
=======================================
Hits 1708 1708
Misses 665 665
Partials 80 80 ☔ View full report in Codecov by Sentry. |
Did this fix make it into the 2.14.0.0 release? UPDATE: It looks like the original issue got labeled for 2.15 |
.... I don't see the issue in opensearch-project/opensearch-build#4681 though :/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport 9662025 from #1899