修改回调页面

This commit is contained in:
zlt
2020-03-15 16:19:08 +08:00
parent cb0bbdff02
commit a4ede8e0ee
4 changed files with 3 additions and 3 deletions
@@ -9,6 +9,6 @@ zlt:
sso:
client-id: app
client-secret: app
redirect-uri: http://127.0.0.1:8081/login.html
redirect-uri: http://127.0.0.1:8081/callback.html
access-token-uri: http://127.0.0.1:9900/api-uaa/oauth/token
user-info-uri: http://127.0.0.1:9900/api-user/users/current
@@ -28,7 +28,7 @@
$('#clientId').html(clientId);
} else {//未登录
sessionStorage.setItem("visitUri", window.location.href);
window.location = uaaUri+'authorize?client_id='+clientId+'&redirect_uri=http://127.0.0.1:8081/login.html&response_type=code';
window.location = uaaUri+'authorize?client_id='+clientId+'&redirect_uri=http://127.0.0.1:8081/callback.html&response_type=code';
}
};