Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/takayyz/nextjs-cognito
Learn authentication w/ the Cognito on Next.js
https://github.com/takayyz/nextjs-cognito
bun cognito nextauthv4 nextjs14 shadcn-ui tailwindcss typescript
Last synced: about 1 month ago
JSON representation
Learn authentication w/ the Cognito on Next.js
- Host: GitHub
- URL: https://github.com/takayyz/nextjs-cognito
- Owner: Takayyz
- Created: 2024-03-08T12:54:21.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-03-20T11:45:20.000Z (9 months ago)
- Last Synced: 2024-03-20T13:26:17.613Z (9 months ago)
- Topics: bun, cognito, nextauthv4, nextjs14, shadcn-ui, tailwindcss, typescript
- Language: TypeScript
- Homepage:
- Size: 163 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## References
- [【NextAuth.js/認証】Cognitoでカスタムサインインページを作成する](https://zenn.dev/gsy0911/articles/0e271401b8e5c2)
- [NextAuth.js + Cognito で Refresh Token を使ってアクセストークンを更新する](https://mseeeen.msen.jp/nextauth-cognito-token-refresh/)
- [Next.js × Auth.js(NextAuth) × Cognitoでカスタムログイン画面を作成しセッション管理をする](https://zenn.dev/arsaga/articles/4fac54eb4d5bd8)