Skip to content

Commit 1de92b1

Browse files
committed
Fix Github oauth provider configuration
There was a regression in go-gitea#16544 whereby the default token url for github was changed to the gitea one. This PR restores this. Signed-off-by: Andrew Thornton <art27@cantab.net>
1 parent ea07726 commit 1de92b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/auth/source/oauth2/providers_custom.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ var _ (GothProvider) = &CustomProvider{}
5555
func init() {
5656
RegisterGothProvider(NewCustomProvider(
5757
"github", "GitHub", &CustomURLSettings{
58-
TokenURL: availableAttribute(gitea.TokenURL),
58+
TokenURL: availableAttribute(github.TokenURL),
5959
AuthURL: availableAttribute(github.AuthURL),
6060
ProfileURL: availableAttribute(github.ProfileURL),
6161
EmailURL: availableAttribute(github.EmailURL),

0 commit comments

Comments
 (0)