gladly-team / next-firebase-auth

Simple Firebase authentication for all Next.js rendering strategies
https://nfa-example-git-v1x-gladly-team.vercel.app/
MIT License
1.35k stars 290 forks source link

v1.x: Bugfix: don't error on unset Firebase admin config values #437

Closed kmjennison closed 2 years ago

kmjennison commented 2 years ago

Cherry-pick of: https://github.com/gladly-team/next-firebase-auth/pull/436

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/gladly-team/nfa-example/GdKkNiLmW9zrFZs2sqTE5DfCaro7
✅ Preview: https://nfa-example-git-kevin-cp-436-gladly-team.vercel.app

codecov[bot] commented 2 years ago

Codecov Report

Merging #437 (6f842bf) into v1.x (572e25a) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             v1.x     #437   +/-   ##
=======================================
  Coverage   99.28%   99.28%           
=======================================
  Files          26       26           
  Lines         560      562    +2     
  Branches      190      192    +2     
=======================================
+ Hits          556      558    +2     
  Misses          4        4           
Impacted Files Coverage Δ
src/config.js 96.25% <100.00%> (+0.09%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 572e25a...6f842bf. Read the comment docs.