Selaa lähdekoodia

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

Fixes regression from #16544
tags/v1.16.0-rc1
techknowlogick 2 vuotta sitten
vanhempi
commit
37d0d94843
No account linked to committer's email address
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      services/auth/source/oauth2/providers_custom.go

+ 1
- 1
services/auth/source/oauth2/providers_custom.go Näytä tiedosto

@@ -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…
Peruuta
Tallenna