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

Function createKeycloakProvider

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

Source from the content-addressed store, hash-verified

270}
271
272const createKeycloakProvider = (id: string, clientId: string, clientSecret: string, issuer: string): Provider => {
273 return Keycloak({
274 id,
275 clientId: clientId,
276 clientSecret: clientSecret,
277 issuer: issuer,
278 allowDangerousEmailAccountLinking: env.AUTH_EE_ALLOW_EMAIL_ACCOUNT_LINKING === 'true',
279 });
280}
281
282const createMicrosoftEntraIDProvider = (id: string, clientId: string, clientSecret: string, issuer: string): Provider => {
283 return MicrosoftEntraID({

Callers 1

getEEIdentityProvidersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected