Skip to content

Conversation

kazutoiris
Copy link
Contributor

What is the purpose of the change

Introduces comprehensive OAuth2 authentication support to the gateway service. The goal is to enhance security by enabling standardized OAuth2 flows for user authentication. Additionally, documentation is provided to guide users and developers on implementing and using the new authentication feature.

Related issues/PRs

Related issue: implement #4191
Related pr: apache/linkis-website#811

Brief change log

Checklist

  • I have read the Contributing Guidelines on pull requests.
  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the Linkis mailing list first)
  • If this is a code change: I have written unit tests to fully verify the new behavior.

- Add OAuth2 authentication configuration to GatewayConfiguration
- Implement OAuth2Authentication
- Update `SecurityFilter` and `UserRestful` to process OAuth2 request

Signed-off-by: kazutoiris <[email protected]>
- Add OAuth-related properties to `linkis-mg-gateway.properties`
- Include support for GitHub OAuth as an example

Signed-off-by: kazutoiris <[email protected]>
Signed-off-by: kazutoiris <[email protected]>
- Add OAuth login option to the login page
- Implement OAuth callback route and component
- Add translations for OAuth login text

Signed-off-by: kazutoiris <[email protected]>
@kazutoiris kazutoiris mentioned this pull request Aug 30, 2025
7 tasks
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.

1 participant