Skip to main content
Glama

PocketBase MCP Server

authenticate_with_oauth2

Enable user authentication via OAuth2 providers such as Google, Facebook, or GitHub by processing authorization codes, PKCE verifiers, and redirect URLs for secure login integration.

Instructions

Authenticate a user with OAuth2

Input Schema

NameRequiredDescriptionDefault
codeYesThe authorization code returned from the OAuth2 provider
codeVerifierYesPKCE code verifier
collectionNoCollection name (default: users)users
providerYesOAuth2 provider name (e.g., google, facebook, github)
redirectUrlYesThe redirect URL used in the OAuth2 flow

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "The authorization code returned from the OAuth2 provider", "type": "string" }, "codeVerifier": { "description": "PKCE code verifier", "type": "string" }, "collection": { "default": "users", "description": "Collection name (default: users)", "type": "string" }, "provider": { "description": "OAuth2 provider name (e.g., google, facebook, github)", "type": "string" }, "redirectUrl": { "description": "The redirect URL used in the OAuth2 flow", "type": "string" } }, "required": [ "provider", "code", "codeVerifier", "redirectUrl" ], "type": "object" }

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/mrwyndham/pocketbase-mcp'

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