提交 658f4d65 编写于 作者: zlt2000's avatar zlt2000

修改登出回调参数名

上级 afd90eb8
......@@ -29,7 +29,7 @@ public class OauthLogoutSuccessHandler implements LogoutSuccessHandler {
@Override
public void onLogoutSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication) throws IOException {
String redirectUri = request.getParameter("redirectUri");
String redirectUri = request.getParameter("redirect_uri");
if (StrUtil.isNotEmpty(redirectUri)) {
//重定向指定的地址
redirectStrategy.sendRedirect(request, response, redirectUri);
......
......@@ -219,7 +219,7 @@ layui.define(['config', 'admin', 'layer', 'laytpl', 'element', 'form'], function
accessToken = token.access_token;
}
config.removeToken();
window.location = config.base_server + 'api-uaa/oauth/remove/token?redirectUri=http://127.0.0.1:8066/login.html&access_token='+accessToken;
window.location = config.base_server + 'api-uaa/oauth/remove/token?redirect_uri=http://127.0.0.1:8066/login.html&access_token='+accessToken;
});
});
// 修改密码
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册