修改登出回调参数名
This commit is contained in:
@@ -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;
|
||||
});
|
||||
});
|
||||
// 修改密码
|
||||
|
||||
Reference in New Issue
Block a user