nakajimayoshiN
Convex Community6mo ago
4 replies
nakajimayoshi

Auth on next.js app

why does getting this route return a 404? I went through the setup guide for github auth on convex auth docs.

~ dev$ curl http://127.0.0.1:3210
This Convex deployment is running. See https://docs.convex.dev/.%             
~ dev$ curl http://127.0.0.1:3210/api/auth/signin/github
~ dev$

convex/auth.ts
import { convexAuth } from "@convex-dev/auth/server";
import GitHub from "@auth/core/providers/github";
import { httpAction } from "./_generated/server";


export const { auth, signIn, signOut, store, isAuthenticated } = convexAuth({
  providers: [GitHub],
});
Screenshot_2025-07-23_at_21.15.24.png
Was this page helpful?