apache / apache/uniffle

[Subtask] Support login function in dashboard module

Open
#1,978 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
454
Forks
172
Avg merge
5d 17h
Merged PRs (30d)
5

Description

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

### Search before asking

- [X] I have searched in the [issues](https://github.com/apache/incubator-uniffle/issues) and found no similar issues.

### Describe the subtask

We have supported authentication in some interfaces in coordinator in #1948.
In the future, we will support request these interfaces through the dashboard module.
So I think we should add a login page.

I think this can be achieved like this:
1.Add a interface for login authentication in coordinator.
2.If the authentication is passed, Save the authentication credentials to the session in dashboard module
3.Put the credentials in the header each time request the coordinator.

### Parent issue

#1949

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

Research direction

Start by reading the coordinator authentication work in #1948 and the parent issue #1949, then trace how the dashboard module requests coordinator interfaces. The intended work is a dashboard login flow, session-stored credentials, and credentials in subsequent coordinator request headers; done means authenticated dashboard requests work across these interfaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
authentication, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.