fix: dev mode

This commit is contained in:
Eli Bosley
2025-01-20 13:45:46 -05:00
parent e5d1146613
commit aae38e3404
3 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,6 @@ if (token) {
}
watch(queryParams, (newVal) => {
console.log('newVal', newVal);
if (newVal?.token) {
enterCallbackTokenIntoField(newVal.token);
// Clear the token from the URL
@@ -49,7 +48,8 @@ const externalSSOUrl = computed(() => {
}
const url = new URL('sso', ACCOUNT);
url.searchParams.append('uids', props.subids);
url.searchParams.append('callbackUrl', window.location.href);
const callbackUrlLogin = new URL('login', window.location.origin);
url.searchParams.append('serverUrl', callbackUrlLogin.toString());
return url.toString();
});
</script>