MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / b64url

Function b64url

apps/host-selfhost/src/mcp/mcp-oauth.test.ts:102–106  ·  view source on GitHub ↗
(buf: Uint8Array)

Source from the content-addressed store, hash-verified

100};
101
102const b64url = (buf: Uint8Array): string =>
103 btoa(String.fromCharCode(...buf))
104 .replaceAll("+", "-")
105 .replaceAll("/", "_")
106 .replaceAll("=", "");
107
108test("MCP OAuth opaque-bearer flow authenticates /mcp end-to-end", async () => {
109 const cookie = await signUp("oauth@env.test");

Callers 1

mcp-oauth.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected