Skip to content

Commit 8f85d57

Browse files
committed
fix: fix github refresh token link
1 parent 6964628 commit 8f85d57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/api-service/lowcoder-server/src/main/java/org/lowcoder/api/authentication/request/oauth2/Oauth2DefaultSource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package org.lowcoder.api.authentication.request.oauth2;
22

33
import org.lowcoder.sdk.auth.constants.Oauth2Constants;
4+
import org.springframework.security.config.oauth2.client.CommonOAuth2Provider;
45

56
public enum Oauth2DefaultSource implements Oauth2Source {
67

@@ -17,7 +18,7 @@ public String userInfo() {
1718

1819
@Override
1920
public String refresh() {
20-
return "https://www.googleapis.com/oauth2/v4/token";
21+
return "https://github.com/login/oauth/access_token";
2122
}
2223

2324
},

0 commit comments

Comments
 (0)