Ver código fonte

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

Fixes regression from #16544
tags/v1.16.0-rc1
techknowlogick 2 anos atrás
pai
commit
37d0d94843
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      services/auth/source/oauth2/providers_custom.go

+ 1
- 1
services/auth/source/oauth2/providers_custom.go Ver arquivo

@@ -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),

Carregando…
Cancelar
Salvar