Skip to main content
Glama
test-auth.test.ts663 B
// SPDX-FileCopyrightText: Copyright Orangebot, Inc. and Medplum contributors // SPDX-License-Identifier: Apache-2.0 import { allOk } from '@medplum/core'; import { MockClient } from '@medplum/mock'; import { handler } from './test-auth'; test.skip('Success', async () => { const medplum = new MockClient(); const result = await handler(medplum, { bot: { reference: 'Bot/123' }, input: '', contentType: 'application/fhir+json', secrets: { CLIENT_ID: { name: 'PHOTON_CLIENT_ID', valueString: '123456789' }, CLIENT_SECRET: { name: 'PHOTON_CLIENT_SECRET', valueString: '987654321' }, }, }); expect(result).toBe(allOk); });

Latest Blog Posts

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/medplum/medplum'

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