Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more debug logging #534

Merged
merged 22 commits into from
Aug 25, 2022
Merged

Add more debug logging #534

merged 22 commits into from
Aug 25, 2022

Conversation

kmjennison
Copy link
Contributor

@kmjennison kmjennison commented Aug 22, 2022

Add more debug logging throughout the app. This is in part related to #531.

Add logs to:

  • Init Firebase JS SDK
  • Init Firebase admin SDK
  • getUserFromCookies
  • Steps of firebaseAdmin -- especially when returning an unauthed user
  • setAuthCookies and unsetAuthCookies
  • withAuthUserTokenSSR

@vercel
Copy link

vercel bot commented Aug 22, 2022

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

Name Status Preview Updated
nfa-example ✅ Ready (Inspect) Visit Preview Aug 25, 2022 at 7:14PM (UTC)

@codecov
Copy link

codecov bot commented Aug 24, 2022

Codecov Report

Merging #534 (d186a71) into v1.x (62dfbf6) will increase coverage by 0.03%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             v1.x     #534      +/-   ##
==========================================
+ Coverage   99.35%   99.39%   +0.03%     
==========================================
  Files          30       30              
  Lines         620      659      +39     
  Branches      212      218       +6     
==========================================
+ Hits          616      655      +39     
  Misses          4        4              
Impacted Files Coverage Δ
src/config.js 96.25% <ø> (ø)
src/createAuthUser.js 100.00% <ø> (ø)
src/firebaseAdmin.js 98.76% <100.00%> (+0.23%) ⬆️
src/getUserFromCookies.js 100.00% <100.00%> (ø)
src/initFirebaseAdminSDK.js 100.00% <100.00%> (ø)
src/initFirebaseClientSDK.js 100.00% <100.00%> (ø)
src/setAuthCookies.js 100.00% <100.00%> (ø)
src/unsetAuthCookies.js 100.00% <100.00%> (ø)
src/useFirebaseUser.js 100.00% <100.00%> (ø)
src/withAuthUser.js 100.00% <100.00%> (ø)
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@kmjennison kmjennison changed the title WIP: Add more debug logging Add more debug logging Aug 25, 2022
@kmjennison kmjennison marked this pull request as ready for review August 25, 2022 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant