Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
AuthMethodSettings.tsx1.31 kB
import { Unready } from "src/components/site/Unready"; import { Heading } from "@/components/ui/heading"; import { CardBox, LStack } from "@/styled-system/jsx"; import { lstack } from "@/styled-system/patterns"; import { OAuth } from "./OAuth/OAuth"; import { Password } from "./Password/Password"; import { useAuthMethodSettings } from "./useAuthMethodSettings"; export function AuthMethodSettings() { const { ready, error, data } = useAuthMethodSettings(); if (!ready) { return <Unready error={error} />; } const { active, available } = data; return ( <CardBox className={lstack()} gap="4"> <LStack> <Heading size="md">Authentication methods</Heading> <p> We recommend you add more than one method of authentication to your account. This will help you recover your account if you lose access to one of your devices. </p> </LStack> {available.password && <Password active={active.password.length > 0} />} {/* NOTE: WebAuthn is not enabled as a 2FA yet. */} {/* {available.webauthn && <Devices active={active.webauthn} />} */} {(available.oauth.length > 0 || active.methods.length > 0) && ( <OAuth active={active.methods} available={available.oauth} /> )} </CardBox> ); }

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/Southclaws/storyden'

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