瀏覽代碼

Use github token URL when fetching oauth token (#16709)

Fixes regression from #16544
tags/v1.16.0-rc1
techknowlogick 2 年之前
父節點
當前提交
37d0d94843
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      services/auth/source/oauth2/providers_custom.go

+ 1
- 1
services/auth/source/oauth2/providers_custom.go 查看文件

@@ -55,7 +55,7 @@ var _ (GothProvider) = &CustomProvider{}
func init() {
RegisterGothProvider(NewCustomProvider(
"github", "GitHub", &CustomURLSettings{
TokenURL: availableAttribute(gitea.TokenURL),
TokenURL: availableAttribute(github.TokenURL),
AuthURL: availableAttribute(github.AuthURL),
ProfileURL: availableAttribute(github.ProfileURL),
EmailURL: availableAttribute(github.EmailURL),

Loading…
取消
儲存