diff --git a/services/auth/source/oauth2/providers_custom.go b/services/auth/source/oauth2/providers_custom.go index de1a1690cb2ea..f2cff131f4a29 100644 --- a/services/auth/source/oauth2/providers_custom.go +++ b/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),