Supports client authorization

This commit is contained in:
2025-11-16 18:28:53 +08:00
parent 568aa34ba1
commit 4de47d462e

View File

@@ -18,4 +18,13 @@ useHead({
definePageMeta({
layout: "minimal"
})
const route = useRoute()
onMounted(() => {
if (route.query.token || route.query.challenge) {
// Goes to the client
window.location.href = `solian://auth/callback${window.location.search}`
}
})
</script>