MCPcopy Index your code
hub / github.com/sourcebot-dev/sourcebot / getIdentityProviderConfig

Function getIdentityProviderConfig

packages/shared/src/env.server.ts:149–153  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

147}
148
149export const getIdentityProviderConfig = async (id: string): Promise<IdentityProviderConfig | undefined> => {
150 const idps = await getIdentityProviderConfigs();
151 const idp = idps[id] as IdentityProviderConfig | undefined;
152 return idp;
153}
154
155// Merge process.env with environment variables resolved from config.json
156const runtimeEnv = await (async () => {

Callers 4

refreshOAuthTokenFunction · 0.90
linkAccountFunction · 0.90
getLinkedAccountsFunction · 0.90

Calls 1

Tested by

no test coverage detected