MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / githubSignIn

Function githubSignIn

packages/auth-server/src/server/passport/index.ts:57–65  ·  view source on GitHub ↗
(state?: string)

Source from the content-addressed store, hash-verified

55 });
56
57 const githubSignIn = (state?: string) =>
58 !!githubClientID && !!githubClientSecret
59 ? passport.authenticate('github', {
60 session: false,
61 failWithError: true,
62 scope: ['user:email'],
63 state,
64 })
65 : () => {};
66
67 return {
68 passport,

Callers 1

CreateRouterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected