UNPKG

mcp-s-oauth

Version:

Express middleware library for MCP (Model Context Protocol) OAuth authentication

20 lines 679 B
export const googleMapsConnector = { authUrl: "https://accounts.google.com/o/oauth2/v2/auth", tokenUrl: "https://oauth2.googleapis.com/token", scopes: ["openid", "email", "profile"], codeExchangeConfig: { modelCredentialsMapping: `{ "access_token": access_token, "expires_at": $fromMillis($millis() + expires_in * 1000), "refresh_token": refresh_token, "refresh_token_expires_at": $fromMillis($millis() + refresh_token_expires_in * 1000), "scope": scope, "token_type": token_type }`, isForm: true, }, authInitUrlParams: { prompt: "consent", }, }; //# sourceMappingURL=google-maps.js.map