|
@@ -64,7 +64,7 @@ public class OauthRestController {
|
|
|
var token = HttpContextUtil.mustToken();
|
|
|
logger.info("key", "oauth/douyin/code", "state", state, "token", token);
|
|
|
oauthService.saveStateMapping(token, state);
|
|
|
- return new RedirectDto("https://open.kuaishou.com/oauth2/connect?" +
|
|
|
+ return new RedirectDto("http://open.kuaishou.com/oauth2/connect?" +
|
|
|
"app_id=" + OauthConfig.kuaishouClientKey + "&response_type=code&" +
|
|
|
"scope=user_info%2Cuser_video_info&" +
|
|
|
"redirect_uri=https%3A%2F%2Fimport.smcic.net%2Fkuaishou%2Fcallback&state=" + state);
|