소스 검색

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…
취소
저장