koishijs / koishijs/koishi-plugin-github

无法登录 Github 账号, 但 Github Application 侧显示已授权成功

Open
#22 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
9
Forks
5
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/94176676/216036367-71d1db12-08bd-4372-a02d-2f022872f365.png)
![image](https://user-images.githubusercontent.com/94176676/216036395-664d273e-eb5d-4462-8603-fcffc6f0122a.png)
![image](https://user-images.githubusercontent.com/94176676/216036469-bbbfd740-c2f9-4974-a75d-f40508efabd8.png)
client id 与 secrets 皆正确, Github OAuth Application 显示 1 user 即为 Github 已经成功授权

跳转到 Koishi Console 的时候 地址栏 url 为 ```https://ssbot.zhjlfx.cn/?redirect=/github/authorize?code=a86adbdf82a2823ad021%26state=4defde68```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the GitHub OAuth flow using the redirect URL shown in the issue and compare the authorization result with the Koishi Console login response. Inspect the project’s OAuth entry points and logs to determine where the redirect, code, or state is mishandled. Done means a correctly authorized GitHub account can complete login in Koishi Console.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, typescript
Domain
authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.