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

Function auth

apps/host-selfhost/src/auth/oauth-callback-login.test.ts:5–9  ·  view source on GitHub ↗
(session: unknown | null)

Source from the content-addressed store, hash-verified

3import { oauthCallbackSignInRedirectLocation } from "./oauth-callback-login";
4
5const auth = (session: unknown | null) => ({
6 api: {
7 getSession: async () => session,
8 },
9});
10
11describe("oauthCallbackSignInRedirectLocation", () => {
12 it("redirects a signed-out OAuth callback to login with returnTo", async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected