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