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

Function getBetterAuthSocialRedirectData

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

Source from the content-addressed store, hash-verified

204};
205
206export const getBetterAuthSocialRedirectData = (
207 provider: string,
208 callbackURL: string,
209 additionalData?: SocialAdditionalData,
210 scopes?: string[],
211): Promise<BetterAuthSocialRedirectResponse> =>
212 getBetterAuthSocialRedirect(
213 'sign-in/social',
214 provider,
215 callbackURL,
216 additionalData,
217 scopes,
218 );
219
220export const getBetterAuthSocialUrl = (
221 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