()
| 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({ |
nothing calls this directly
no outgoing calls
no test coverage detected