From 57b0a0c148103e388dc2ee9eae87cce562bdd4c4 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Fri, 30 Oct 2026 12:37:59 +0800 Subject: [PATCH] fix: encode redirect_uri for proper URL formatting --- ui/src/views/login/scanComponents/dingtalkQrCode.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/login/scanComponents/dingtalkQrCode.vue b/ui/src/views/login/scanComponents/dingtalkQrCode.vue index 8eda3b450c7..15db5a8232e 100644 --- a/ui/src/views/login/scanComponents/dingtalkQrCode.vue +++ b/ui/src/views/login/scanComponents/dingtalkQrCode.vue @@ -20,7 +20,7 @@ const initialize = async () => { client_id: props.config.app_key, corpId: props.config.corp_id, prompt: 'consent', - redirect_uri: window.location.origin, + redirect_uri: encodeURIComponent(window.location.origin), response_type: 'code', scope: 'openid corpid', state: 'fit2cloud-ding-qr',