feat: switch OAuth authentication provider from Google to GitHub for improved sign-in functionality

This commit is contained in:
Ben Allfree
2025-12-10 05:44:34 -08:00
parent 154bee2e8c
commit 9b7661562f
3 changed files with 4 additions and 3 deletions
+1
View File
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Minor
- Switched OAuth authentication provider from Google to GitHub
- Integrated Giscus comments into build pages for discussion threads per build configuration
### Patch
+1 -1
View File
@@ -48,7 +48,7 @@ export default function Navbar() {
/>
<Unauthenticated>
<Button
onClick={() => signIn("google", { redirectTo: window.location.href })}
onClick={() => signIn("github", { redirectTo: window.location.href })}
className="bg-cyan-600 hover:bg-cyan-700"
>
Sign In
+2 -2
View File
@@ -1,6 +1,6 @@
import Google from "@auth/core/providers/google"
import GitHub from "@auth/core/providers/github"
import { convexAuth } from "@convex-dev/auth/server"
export const { auth, signIn, signOut, store } = convexAuth({
providers: [Google],
providers: [GitHub],
})