Browse Source

回调地址验证

yuhuitao 2 years ago
parent
commit
f24d44f750

+ 2 - 2
modules/sso/src/main/java/com/jeesite/modules/sso/service/SsoOauthService.java

@@ -128,13 +128,13 @@ public class SsoOauthService extends BaseController {
 
         //验证redirectUri是否正确
         //通过appkey查询应用信息
-        SsoApp ssoApp = ssoAppDao.selectAppBykey(appKey);
+      /*  SsoApp ssoApp = ssoAppDao.selectAppBykey(appKey);
         URL url = new URL(ssoApp.getCallbackUrl());
         String address=url.getHost();
 
         if(!redirectUri.contains(address)){
             return renderResult(Global.FALSE,"非法的回调地址");
-        }
+        }*/
 
 
         //去redis中验证code