-
Notifications
You must be signed in to change notification settings - Fork 919
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
[KYUUBI #6079] Web UI support Basic authN #6258
Conversation
the frontend code needs to be modified so that all http request will attach a basic auth header |
frontend code means web-ui code? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6258 +/- ##
============================================
+ Coverage 58.42% 58.45% +0.03%
Complexity 24 24
============================================
Files 651 652 +1
Lines 39513 39607 +94
Branches 5441 5450 +9
============================================
+ Hits 23086 23154 +68
- Misses 13954 13976 +22
- Partials 2473 2477 +4 ☔ View full report in Codecov by Sentry. |
interesting, let me verify it locally |
found 2 issues:
|
Oh, I see ... |
@pan3793 cc |
seems a explicitly logout button is required, otherwise user can not switch login user |
Simple implementation is that when the user clicks the logout button, the server returns 401. |
We can use a specific endpoint for that, so other endpoints behavior won't be affected |
Login users cannot be displayed in this way.Implemented on the frontend code instead. |
# 🔍 Description ## Issue References 🔗 This pull request fixes #6079 ## Describe Your Solution 🔧 <img width="1160" alt="image" src="https://github.com/apache/kyuubi/assets/25627922/eef26a0e-478a-4e65-a0a4-629e0afa9a52"> ![zpHy0SGauD](https://github.com/apache/kyuubi/assets/25627922/176d4436-509b-406a-984b-8eb0dab9698e) ![image](https://github.com/apache/kyuubi/assets/25627922/3d637718-b177-48b2-bd6a-9ec8065b8b9c) ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 --- # Checklist 📝 - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6258 from beryllw/kyuubi-6079. Closes #6079 7a90286 [wangjunbo] support input valid 6e2093e [wangjunbo] format code a781c0a [wangjunbo] add License 788bdfa [wangjunbo] [KYUUBI #6079] Web UI support Basic authN 97772e5 [wangjunbo] [KYUUBI #6079] Web UI support Basic authN 5560d4f [wangjunbo] [KYUUBI #6079] Web UI support Basic authN Authored-by: wangjunbo <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit 8bfae02) Signed-off-by: Cheng Pan <[email protected]>
Thanks, merged to master/1.9.1 |
🔍 Description
Issue References 🔗
This pull request fixes #6079
Describe Your Solution 🔧
Types of changes 🔖
Test Plan 🧪
Checklist 📝
Be nice. Be informative.