Skip to content

Commit 3bbd388

Browse files
committed
fix: encode redirect_uri for proper URL formatting
1 parent d522741 commit 3bbd388

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/src/views/login/scanComponents/dingtalkQrCode.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const initialize = async () => {
2020
client_id: props.config.app_key,
2121
corpId: props.config.corp_id,
2222
prompt: 'consent',
23-
redirect_uri: window.location.origin,
23+
redirect_uri: encodeURIComponent(window.location.origin),
2424
response_type: 'code',
2525
scope: 'openid corpid',
2626
state: 'fit2cloud-ding-qr',

0 commit comments

Comments
 (0)