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

Function signInGithub

src/features/auth/components/register-form.tsx:53–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 });
52
53 const signInGithub = async () => {
54 await authClient.signIn.social({
55 provider: "github",
56 }, {
57 onSuccess: () => {
58 router.push("/");
59 },
60 onError: () => {
61 toast.error("Something went wrong");
62 },
63 });
64 };
65
66 const signInGoogle = async () => {
67 await authClient.signIn.social({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected