Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
229
oauth.go478 B
package oauth import ( "fmt" "net/url" "github.com/Southclaws/storyden/app/resources/account/authentication" ) type Configuration struct { Enabled bool ClientID string ClientSecret string } func Redirect(publicWebURL url.URL, svc authentication.Service) url.URL { name := svc.String() // TODO: Let the client/caller control this callback URL path. ref, _ := url.Parse(fmt.Sprintf("/auth/%s/callback", name)) return *publicWebURL.ResolveReference(ref) }

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