Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
webauthn.go664 B
package webauthn import ( "github.com/Southclaws/fault" "github.com/Southclaws/fault/fmsg" "github.com/go-webauthn/webauthn/protocol" "github.com/go-webauthn/webauthn/webauthn" "github.com/Southclaws/storyden/internal/config" ) func New(cfg config.Config) (*webauthn.WebAuthn, error) { wa, err := webauthn.New(&webauthn.Config{ RPDisplayName: "Storyden", RPID: cfg.PublicWebAddress.Host, RPOrigins: []string{cfg.PublicWebAddress.String()}, AttestationPreference: protocol.PreferIndirectAttestation, }) if err != nil { return nil, fault.Wrap(err, fmsg.With("failed to init webauthn")) } return wa, nil }

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