Browse Source

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

Fixes regression from #16544
tags/v1.16.0-rc1
techknowlogick 2 years ago
parent
commit
37d0d94843
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      services/auth/source/oauth2/providers_custom.go

+ 1
- 1
services/auth/source/oauth2/providers_custom.go View File

@@ -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…
Cancel
Save