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

Function oauthCallbackUrl

packages/react/src/plugins/oauth-sign-in.tsx:105–108  ·  view source on GitHub ↗
(path = "/api/oauth/callback")

Source from the content-addressed store, hash-verified

103};
104
105export function oauthCallbackUrl(path = "/api/oauth/callback"): string {
106 if (typeof window === "undefined") return path;
107 return new URL(path, window.location.origin).toString();
108}
109
110export const OAUTH_CLIENT_ID_METADATA_DOCUMENT_PATH = "/api/oauth/client-id-metadata/default.json";
111export const OAUTH_CLIENT_ID_METADATA_DOCUMENT_LOCAL_PATH =

Callers 5

OAuthClientFormFunction · 0.90
handleRegisterDynamicFunction · 0.90
handleDcrConnectFunction · 0.90
useOAuthPopupFlowFunction · 0.85

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected