mirror of
https://github.com/MeshEnvy/mesh-forge.git
synced 2026-08-06 08:53:08 +02:00
feat: switch OAuth authentication provider from Google to GitHub for improved sign-in functionality
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
@@ -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],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user