Content pfp
Content
@
0 reply
0 recast
2 reactions

Matthew pfp
Matthew
@matthew
is anyone aware of a way to sign in a user via an api route in nextjs + nextauth? specifically trying to auth users when coming through warpcast—the post api route that warpcast sends has the user's fid, and I want to sign them via on the post route handler
1 reply
0 recast
4 reactions

dylan pfp
dylan
@dylsteck.eth
i have a SIWF x NextAuth example here, I think you'd essentially turn the auth.ts into a POST request or use the default POST handler as long as you have the right body https://github.com/farhackxyz/farhack/blob/main/auth.ts
1 reply
0 recast
0 reaction