add: GitHub authentication

This commit is contained in:
Dominik Natter
2025-03-26 12:51:29 +01:00
parent b4b24410c2
commit 18ab55600b
12 changed files with 96 additions and 10275 deletions

View File

@@ -0,0 +1,14 @@
import { signIn } from "@/auth";
export default function SignInButton() {
return (
<form
action={async () => {
"use server";
await signIn("github");
}}
>
<button type="submit">Sign In</button>
</form>
);
}