Skip to content

Commit

Permalink
Use github token URL when fetching oauth token (#16709)
Browse files Browse the repository at this point in the history
Fixes regression from #16544
  • Loading branch information
techknowlogick authored Aug 17, 2021
1 parent ea07726 commit 37d0d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/auth/source/oauth2/providers_custom.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 37d0d94

Please sign in to comment.