skjcmanager/skjcmanager-auth/src/main/java/cn/gistack/auth/endpoint/BladeTokenEndPoint.java
@@ -103,7 +103,11 @@ @SneakyThrows @GetMapping("/oauth/tokenLoginUI") public void tokenLoginUI(HttpServletResponse response, String code) { response.sendRedirect(oauthProperties.getRedirectWebUri() + "?code=" + code); if (StringUtil.isBlank(code)) { response.sendRedirect(oauthProperties.getRedirectExitUri()); } else { response.sendRedirect(oauthProperties.getRedirectWebUri() + "?code=" + code); } } @GetMapping("/oauth/tokenLogin") skjcmanager/skjcmanager-auth/src/main/java/cn/gistack/auth/props/OAuthProperties.java
@@ -33,4 +33,6 @@ private String redirectWebUri; private String redirectExitUri; } skjcmanager/skjcmanager-auth/src/main/resources/application-dev.yml
@@ -26,3 +26,4 @@ profile-url: ${oauth.config.server-url-prefix}/api-auth/inspur/cas/oauth2.0/profile redirect-uri: http://10.10.3.99:32182/api/blade-auth/oauth/tokenLoginUI redirect-web-uri: http://192.168.1.198:1888/business/#/tokenlogin redirect-exit-uri: http://10.10.3.99:32182/#/index skjcmanager/skjcmanager-auth/src/main/resources/application-prod.yml
@@ -26,3 +26,4 @@ profile-url: ${oauth.config.server-url-prefix}/api-auth/inspur/cas/oauth2.0/profile redirect-uri: http://10.10.3.99:32182/api/blade-auth/oauth/tokenLoginUI redirect-web-uri: http://10.10.3.99:32182/#/tokenlogin redirect-exit-uri: http://10.10.3.99:32182/#/index