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 3 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