diff --git a/app/components/app/auth/login.vue b/app/components/app/auth/login.vue index 170ab5d3..a10200eb 100644 --- a/app/components/app/auth/login.vue +++ b/app/components/app/auth/login.vue @@ -35,9 +35,16 @@ const onSubmit = handleSubmit(async (values) => { } }) -function onSSO() { - emit('sso') -} + +const onSSO = (async () => { + console.log("Emitting SSO...") + try { + await emit('sso') + } catch (error) { + console.error('Call SSO failed:', error) + } +}); +