Switch to Supabase
NextJs Uses next-auth as authentication so no docs provided here
JWT to Supabase
Set AWS Config
At present, AWS uses a dummy config, so we don't need to change anything, but in actual implementation, you need to set poolId and appClientId in the following file. For more detail refer to supabase here:https://supabase.com/
.env
Change Config
src\config.js
Change AuthProvider
Comment another provider in the following file and uncomment thety Supabase one.
src/App.tsx
Change Auth Hooks
Comment another context in the following file and uncomment the Supabase one.
src/hooks/useAuth.ts
Last updated