elk/pages/signin/callback.vue

23 lines
323 B
Vue
Raw Normal View History

2022-11-15 16:48:23 +01:00
<script setup lang="ts">
2022-11-21 11:27:28 +01:00
definePageMeta({
layout: 'none',
})
2022-11-15 16:48:23 +01:00
const { query } = useRoute()
onMounted(async () => {
2022-11-23 00:08:36 +01:00
await loginCallback(query as any)
2022-11-15 16:48:23 +01:00
await nextTick()
await nextTick()
location.pathname = '/'
})
</script>
<template>
2022-11-21 11:27:28 +01:00
<div h-full flex>
<div ma>
Login...
</div>
2022-11-15 16:48:23 +01:00
</div>
</template>