next-auth icon indicating copy to clipboard operation
next-auth copied to clipboard

fix(firebase): add ability to pass in firebase config

Open chanceaclark opened this issue 2 years ago • 3 comments

☕️ Reasoning

Adds the ability to pass in Firebase config into the adapter to initialize the app, rather than initializing by default. This is useful if you've initialized the app on the client and want to reuse the config on the server. Alongside that, adds some documentation on how to use it.

Note: Ran prettier --write packages/adapter-firebase which cleaned up some files.

🧢 Checklist

  • [ ] Documentation
  • [ ] Tests
  • [ ] Ready to be merged

🎫 Affected issues

Fixes: #4927

📌 Resources

chanceaclark avatar Jul 31 '22 15:07 chanceaclark

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
next-auth ✅ Ready (Inspect) Visit Preview Sep 2, 2022 at 6:54PM (UTC)

vercel[bot] avatar Jul 31 '22 15:07 vercel[bot]

cc. @balazsorban44

chanceaclark avatar Jul 31 '22 17:07 chanceaclark

@chanceaclark @balazsorban44 @ndom91 @lluia Sorry for pinging you all but will we have approval soon?

itsmylife avatar Aug 25 '22 13:08 itsmylife