Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新新功能介绍 #132

Merged
merged 6 commits into from
Dec 31, 2024
Merged

更新新功能介绍 #132

merged 6 commits into from
Dec 31, 2024

Conversation

uubulb
Copy link
Contributor

@uubulb uubulb commented Dec 26, 2024

No description provided.

@cantoblanco
Copy link
Member

准备周末做的,非常感谢 👍

@uubulb uubulb marked this pull request as ready for review December 27, 2024 10:44
@uubulb
Copy link
Contributor Author

uubulb commented Dec 28, 2024

还需要更新下 oauth2……

先记录下配置信息

oauth2:
  GitHub:
    clientid: "asdddsaaasd"
    clientsecret: "ddsaasdddsa"
    endpoint:
      authurl: "https://github.com/login/oauth/authorize"
      okenurl: "https://github.com/login/oauth/access_token"
    scopes:
       - "read:user"
    userinfourl: "https://api.github.com/user"
    useridpath: "id"

备注:

  • scopes 似乎没起到作用,填了错误的 scope 也能使用(可能用了默认的?),等更新后观察一下
  • userinfourluseridpath 需要填的是获取用户信息的 api 和 id field,而每一个不同的provider其值是不一样的,以上只是github的示例

@uubulb uubulb merged commit 14564f1 into nezhahq:main Dec 31, 2024
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