© 2026 Hedgehog Software, LLC
ssr: false
app/spa-loading-template.html
<template> <div class="tw:master-container tw:font-bold">not query</div> </template> <script setup lang="ts"> definePageMeta({ layout: 'empty', name: 'impersonate', public: true, }); const { query } = useRoute(); const { setTokens, getSession } = useAuth(); await useAsyncData('impersonate', async () => { if (query.access && query.refresh) { const tokens = { accessToken: query.access, refreshToken: query.refresh }; setTokens(tokens); await getSession(); const localePath = useLocalePath(); return navigateTo(localePath('/')); } }); </script>
Join the Discord to ask follow-up questions and connect with the community
Nuxt Community Chat Server
31,632 Members