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: Remove thrown errors from token refresh & verification logic #378

Closed kmjennison closed 2 years ago

kmjennison commented 2 years ago

Cherry-pick #368 (0.x into 1.x).

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/5Bq5C4JbyEfY8K2SNTQYUpr8QibK
✅ Preview: https://nfa-example-git-kevin-cp-368-gladly-team.vercel.app

codecov[bot] commented 2 years ago

Codecov Report

Merging #378 (0161144) into v1.x (5579c60) will decrease coverage by 0.35%. The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##             v1.x     #378      +/-   ##
==========================================
- Coverage   99.61%   99.25%   -0.36%     
==========================================
  Files          25       25              
  Lines         515      535      +20     
  Branches      190      194       +4     
==========================================
+ Hits          513      531      +18     
- Misses          2        4       +2     
Impacted Files Coverage Δ
src/testHelpers/createMockConfig.js 100.00% <ø> (ø)
src/config.js 95.71% <71.42%> (-2.70%) :arrow_down:
src/firebaseAdmin.js 98.52% <100.00%> (+0.34%) :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 5579c60...0161144. Read the comment docs.