Skip to content

feat: support lite SSO login callback with access token - #1471

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2977_0982e99
Sep 13, 2026
Merged

HaiHui886 merged 1 commit into
mainfrom
sync_mr_2977_0982e99

Conversation

@csg-pr-bot

Copy link
Copy Markdown
Collaborator

Summary:

  • Main scope: B1. 当 Casdoor 登录回调携带 state=lite 时,登录成功后不再回到默认的前端页面,而是以 302 重定向到 lite 本地回调地址,并在 query 中携带 token(CSGHub access token)、.
  • Additional context: B2. lite 流程取/建的是 CSGHub 应用访问令牌(AccessTokenAppCSGHub,即 git 应用,不产生计费)。若已存在则复用,否则创建;token 名称固定为 csglite。.

@csg-pr-bot

Copy link
Copy Markdown
Collaborator Author

Depends on #1470

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@HaiHui886
HaiHui886 merged commit 7835b23 into main Sep 13, 2026
7 checks passed
@HaiHui886
HaiHui886 deleted the sync_mr_2977_0982e99 branch September 13, 2026 02:17
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.

3 participants