|
@@ -343,7 +343,7 @@ const identitySetting = ref({
|
|
|
spEntityID: 'com.leanwo.prodog.sp',
|
|
spEntityID: 'com.leanwo.prodog.sp',
|
|
|
spAssertionConsumeService: 'http://xxxx:xx/api/saml/sso/${id}',
|
|
spAssertionConsumeService: 'http://xxxx:xx/api/saml/sso/${id}',
|
|
|
spAssertionConsumeSuccessRedirectService:
|
|
spAssertionConsumeSuccessRedirectService:
|
|
|
- 'http://xxxx:xx/index.html/#/samlLogin',
|
|
|
|
|
|
|
+ 'http://xxxx:xx/index.html#/samlLogin',
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
const service = ref(false);
|
|
const service = ref(false);
|
|
@@ -376,10 +376,10 @@ let redirectService = async (_rule, value) => {
|
|
|
if (!value) {
|
|
if (!value) {
|
|
|
return Promise.reject('请输入 Prodog 断言解析成功跳转地址');
|
|
return Promise.reject('请输入 Prodog 断言解析成功跳转地址');
|
|
|
}
|
|
}
|
|
|
- if (!value.endsWith('index.html/#/samlLogin')) {
|
|
|
|
|
|
|
+ if (!value.endsWith('index.html#/samlLogin')) {
|
|
|
redirect.value = true;
|
|
redirect.value = true;
|
|
|
return Promise.reject(
|
|
return Promise.reject(
|
|
|
- '断言解析成功跳转地址必须以index.html/#/samlLogin结束',
|
|
|
|
|
|
|
+ '断言解析成功跳转地址必须以index.html#/samlLogin结束',
|
|
|
);
|
|
);
|
|
|
} else {
|
|
} else {
|
|
|
redirect.value = false;
|
|
redirect.value = false;
|