Switch to Firebase
Last updated
Last updated
Set Firebase Config
At present, firebase uses you need to set a secret in the following file. For more detail refer to firebase here:
Change AuthProvider
Change auth Hooks
Comment another context in the following file and uncomment Firebase one.
It's also super simple. We have provided a code that just needs to be replaced.
From: src\sections\auth\login\FirebaseLogin
To: src\sections\auth\auth-forms\AuthLogin.js
We have provided a code that just needs to be replaced.
From: src\sections\auth\register\FirebaseRegister
To: src\sections\auth\auth-forms\AuthRegister.js
For nextJS, refer next-auth site: