From 9edd3c0391971de09e68b397164535613b5fe432 Mon Sep 17 00:00:00 2001 From: Sai Sandeep Rangisetti Date: Wed, 18 Sep 2024 15:32:47 +0530 Subject: [PATCH] Change the oauth2's fetch token API --- lib/auth/github.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth/github.go b/lib/auth/github.go index 0d0c653ec786f..99204c2888818 100644 --- a/lib/auth/github.go +++ b/lib/auth/github.go @@ -964,7 +964,7 @@ const ( GithubAuthPath = "oauth/authorize" // GithubTokenPath is the GitHub token exchange endpoint - GithubTokenPath = "oauth/token" + GithubTokenPath = "v3/oauth/token" // MaxPages is the maximum number of pagination links that will be followed. MaxPages = 99