Skip to content

Commit

Permalink
✅ test: 로그인 리다이렉트 테스트 페이지 #10
Browse files Browse the repository at this point in the history
  • Loading branch information
froggy1014 committed Jul 30, 2024
1 parent f56c508 commit 7bee494
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/app/signIn/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { signIn } from "@/auth";

const page = () => {
return (
<form
action={async () => {
"use server";

await signIn("kakao");
}}
className="flex h-screen w-full items-center justify-center"
>
<button type="submit" className="rounded-lg bg-blue-100 px-4 py-2">
Signin with Kakao
</button>
</form>
);
};

export default page;

0 comments on commit 7bee494

Please sign in to comment.