Skip to main content
Glama
RefreshAuthPage.vue567 B
<template><div>Refresh auth</div></template> <script setup lang="ts"> import { useRoute } from "vue-router"; import { onMounted } from "vue"; import { useAuthStore } from "@/store/auth.store"; const route = useRoute(); const authStore = useAuthStore(); const AUTH_PORTAL_URL = import.meta.env.VITE_AUTH_PORTAL_URL; const workspaceId = route.query.workspaceId as string; onMounted(async () => { if (workspaceId) { await authStore.FORCE_REFRESH_MEMBERS(workspaceId); } window.location.href = `${AUTH_PORTAL_URL}/workspace/${workspaceId}`; }); </script>

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/systeminit/si'

If you have feedback or need assistance with the MCP directory API, please join our Discord server