Switch to Firebase
JWT to Firebase
Set Firebase Config
At present, firebase uses you need to set a secret in the following file. For more detail refer to firebase here: https://firebase.google.com/docs/reference/rest/auth
.env
Change Config
src\config.ts
Change AuthProvider
Comment another provider in the following file and uncomment Firebase one.
src/App.tsx
Change Auth Hooks
Comment another context in the following file and uncomment Firebase one.
src/hooks/useAuth.ts
For nextJS, refer next-auth site: https://authjs.dev/reference/core/providers_google
Last updated