MCPcopy Create free account
hub / github.com/sourcebot-dev/sourcebot / createGoogleProvider

Function createGoogleProvider

packages/web/src/ee/features/sso/sso.ts:253–260  ·  view source on GitHub ↗
(id: string, clientId: string, clientSecret: string)

Source from the content-addressed store, hash-verified

251}
252
253const createGoogleProvider = (id: string, clientId: string, clientSecret: string) => {
254 return Google({
255 id,
256 clientId: clientId,
257 clientSecret: clientSecret,
258 allowDangerousEmailAccountLinking: env.AUTH_EE_ALLOW_EMAIL_ACCOUNT_LINKING === 'true',
259 });
260}
261
262const createOktaProvider = (id: string, clientId: string, clientSecret: string, issuer: string): Provider => {
263 return Okta({

Callers 1

getEEIdentityProvidersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected