Vue
Vue
<script setup lang="ts">
import { ref } from 'vue'
import { Tapok } from '@orria/tapok/vue'
const tapok = new Tapok()
const session = ref(tapok.getSession())
const login = async () => { session.value = await tapok.login() }
</script>
<template><button @click="login">Войти через Tapok</button></template>
Проверяйте полученный token на backend.