Using Same Firebase for Web App as well as Android App
- Create Android app in that project go to project setting click on iso or android or web icon.
- Go to authentication select Google then enable select email Get client id from web sdk
- - Create.env.local
- GOOGLE_CLIENT_ID=259eklrjelkjr
- GOOGLE_CLIENT_SECRET=GOlkelkrjer
- NEXTAUTH_URL=https://localhost:3000
- - Restart the server/app
- - Create folder in pages/auth/signin.js
Comments
Post a Comment