MCPcopy Create free account
hub / github.com/dailydotdev/apps / getBetterAuthSocialRedirectData

Function getBetterAuthSocialRedirectData

packages/shared/src/lib/betterAuth.ts:256–268  ·  view source on GitHub ↗
(
  provider: string,
  callbackURL: string,
  additionalData?: SocialAdditionalData,
  scopes?: string[],
)

Source from the content-addressed store, hash-verified

254};
255
256export const getBetterAuthSocialRedirectData = (
257 provider: string,
258 callbackURL: string,
259 additionalData?: SocialAdditionalData,
260 scopes?: string[],
261): Promise<BetterAuthSocialRedirectResponse> =>
262 getBetterAuthSocialRedirect(
263 'sign-in/social',
264 provider,
265 callbackURL,
266 additionalData,
267 scopes,
268 );
269
270export const getBetterAuthSocialUrl = (
271 provider: string,

Callers 5

onProviderClickFunction · 0.90
betterAuth.spec.tsFile · 0.90
useLoginFunction · 0.90
onSocialRegistrationFunction · 0.90
getBetterAuthSocialUrlFunction · 0.85

Calls 1

Tested by

no test coverage detected