MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / signInGithub

Function signInGithub

src/features/auth/components/login-form.tsx:47–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 });
46
47 const signInGithub = async () => {
48 await authClient.signIn.social({
49 provider: "github",
50 }, {
51 onSuccess: () => {
52 router.push("/");
53 },
54 onError: () => {
55 toast.error("Something went wrong");
56 },
57 });
58 };
59
60 const signInGoogle = async () => {
61 await authClient.signIn.social({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected