Skip to content

feat(auth): add GitLab OAuth2 provider support#264

Open
myml wants to merge 1 commit intoiflytek:mainfrom
myml:gitlab
Open

feat(auth): add GitLab OAuth2 provider support#264
myml wants to merge 1 commit intoiflytek:mainfrom
myml:gitlab

Conversation

@myml
Copy link
Copy Markdown

@myml myml commented Apr 9, 2026

Summary

  • What changed?

    • GitLab OAuth2 client configuration with customizable base URL
    • GitLabClaimsExtractor for handling GitLab-specific user claims
    • Multi-provider login UI with provider-specific icons
    • Updated localization to use OAuth-agnostic terminology
    • JSON type annotation for IdentityBinding entity
  • Why is this needed?

Add GitLab as an additional OAuth2 authentication provider

Validation

  • Backend tests passed
  • Frontend typecheck/build passed
  • OpenAPI SDK regenerated or checked when API contracts changed
  • Smoke test run when relevant

Commands run:

# paste commands here
make test

Risk

  • User-facing impact:
  • Deployment or migration impact:
  • Rollback approach:

Notes

  • Related issue:
  • Follow-up work:
  • Docs or operator runbooks updated when behavior changed:

@myml myml marked this pull request as draft April 9, 2026 02:01
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 9, 2026

CLA assistant check
All committers have signed the CLA.

@myml myml marked this pull request as ready for review April 9, 2026 02:30
Add GitLab as an additional OAuth2 authentication provider alongside
GitHub. This includes:

- GitLab OAuth2 client configuration with customizable base URL
- GitLabClaimsExtractor for handling GitLab-specific user claims
- Multi-provider login UI with provider-specific icons
- Updated localization to use OAuth-agnostic terminology
- JSON type annotation for IdentityBinding entity
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.

2 participants