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

Function hostMatches

packages/react/src/components/oauth-app-setup.ts:78–79  ·  view source on GitHub ↗
(hostname: string, providerHost: string)

Source from the content-addressed store, hash-verified

76};
77
78const hostMatches = (hostname: string, providerHost: string): boolean =>
79 hostname === providerHost || hostname.endsWith(`.${providerHost}`);
80
81export function oauthAppSetupFor(input: {
82 readonly authorizationUrl?: string;

Callers 1

oauthAppSetupForFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected