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

Function getBetterAuthSocialRedirectData

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

Source from the content-addressed store, hash-verified

245};
246
247export const getBetterAuthSocialRedirectData = (
248 provider: string,
249 callbackURL: string,
250 additionalData?: SocialAdditionalData,
251 scopes?: string[],
252): Promise<BetterAuthSocialRedirectResponse> =>
253 getBetterAuthSocialRedirect(
254 'sign-in/social',
255 provider,
256 callbackURL,
257 additionalData,
258 scopes,
259 );
260
261export const getBetterAuthSocialUrl = (
262 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