question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RFC: making it easier to use the Firebase apps

See original GitHub issue

Developers often need to access the Firebase JS app or admin app to use features beyond auth. Currently, our recommendation is to initialize the Firebase apps manually before initializing next-firebase-auth (see this comment for one example). However, this recommendation has proven confusing: https://github.com/gladly-team/next-firebase-auth/discussions/61, https://github.com/gladly-team/next-firebase-auth/discussions/110, https://github.com/gladly-team/next-firebase-auth/issues/113

I’d love to find a way to support this use case without adding complexity to this package or extraneous props to higher-order functions. Recommendations are welcome here.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:25 (16 by maintainers)

github_iconTop GitHub Comments

7reactions
kmjennisoncommented, Apr 23, 2021

Version 0.13.1-alpha.0 adds a getFirebaseAdmin method.

Adding a sibling method for the JS SDK, getFirebase (or getFirebaseClient?), seems like a reasonable solution.

5reactions
kmjennisoncommented, May 1, 2021

Added getFirebaseClient in v0.13.1-alpha.1!

Feedback welcome: We might be ready to close this issue. Is anything missing here, or do you run into any problems? Do these new methods work for you?

For TypeScript users, I’d also appreciate verification that the types are correct (I haven’t tested them myself).

Read more comments on GitHub >

github_iconTop Results From Across the Web

RFC: v1 roadmap #265 - gladly-team/next-firebase-auth
Making the package more flexible · Identify a suitable cookies library · Identify a clear migration strategy for existing apps to avoid cookie ......
Read more >
Privacy and Security in Firebase - Google
When customers use Firebase, Google is generally a data processor under GDPR and processes personal data on their behalf. Similarly, when customers use...
Read more >
Protecting your backends with Firebase App Check
Securing your app and your resources is critical. Using Firebase Authentication and Firebase Security Rules helps protect access to user data, ...
Read more >
RFC compliance | Certificate Authority Service | Google Cloud
However, CA Service does not enforce all RFC 5280 requirements and it is possible for a CA created using CA Service to issue...
Read more >
OAuth 2.0 Mechanism | Gmail - Google Developers
If your app doesn't require https://mail.google.com/ , migrate to the Gmail API and use more ... Use the base64 encoding mechanism defined in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found