-
Notifications
You must be signed in to change notification settings - Fork 290
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
RFC: v1 roadmap #265
Comments
Hi, I'm picking up Firebase v9 support 👨💻 |
@kmjennison @HofmannZ Hi, any updates on the v1 release? |
@atanaskanchev This is our checklist for a v1 release. I welcome contributions to speed things along. Meanwhile, v1 changes are available on the canary release channel. |
We might defer a unified cookie feature (#190) to a later release because:
|
When will this library be available for next 12 version ? |
@VewMet Next 12 is supported in the latest releases. |
Firebase-admin 10.0.0 support should also be added to the roadmap |
@Patrik-svobodik Firebase admin v10 is already supported. |
Is Next.js' middleware functionality a place that next-firebase-auth could live? I assume it would be more performant? But does that make the hybrid server and client approach currently used almost impossible? https://nextjs.org/docs/middleware That could mean that pages lose auth/redirect on a page by page basis, instead be determined by file placement. |
@seanaguinaga Thanks for flagging this. I opened an issue for middleware discussion here: #418 |
Hi guys, hope everything is going great. I am wondering if you have an estimated ETA for v1? |
@DiegoGonzalezCruz We don't have an ETA—we're making progress as we have time. We welcome contributions on open issues. Meanwhile, |
Hi, it seems admin side is also modular: Currently we do: |
@kmjennison is that safe to use |
@raajnadar Yes, the canary releases are intended to be fully functional and usable in production. However, they'll be less stable and less tested than major releases, so you should only use it if you have tolerance for possible bugs or breaking changes. The current canary version will see more breaking changes before it hits v1 stable. See release notes for these changes. |
@kmjennison I am having a hard time upgrading to v17 - the admin config for initAuth is different? have a complete example? |
@seanaguinaga The config hasn't changed, but there are some breaking changes in v1.0.0-canary.17 (see release notes). Notably, we dropped support for |
@kmjennison I tried
canary.16 worked. With canary17, I removed the getFirebaseAdmin and replaced them with
And the error still throw |
More context: I'm invoking these inside a |
Fixed it by wrapping the getServerSideProps inside the withAuthUser EDIT: Apparently it worked locally, but when deploy it throws the error on the function... |
I'm also having issues with the 'app/no-app' error code when trying to access the admin sdk on the server side. Both in API routes and getserversideprops. Strangely enough, it seems to work sometimes. I got it working suddenly, restarted the app, and then the errors came back.. |
If you're running into a bug, please try the example app with your own Firebase credentials (if you haven't already) to see if the bug exists there. Then, please open an issue with a minimal example app and instructions to reproduce. |
v1 beta is out! 🎉 Check out the migration guide and let me know if you run into any issues. |
v1.0.0 has been released! |
next-firebase-auth
has been reasonably stable for a while now and is already used in production apps, so it feels an appropriate time to move toward a v1 release.This is an in-progress document of the changes that might land in v1. Please comment with any feedback or questions.
The unstable releases are available as
next-firebase-auth@canary
. When contributing, please make pull requests to the v1.x branch.Demo: the demo app is deployed here.
Prerequisites
Making the package work better
Making the package more flexible
Support one unified cookie with a custom name, such as__session
, for Firebase hosting #190Deferred: we'll delay this to a potential later release because 1) we won't want to complicate adoption of Firebase v9, 2) we haven't identified a suitable cookies library, and 3) this library might have a cookie-free future (see Explore using service workers to manage sessions #287).
Preventing incorrect use
Developer tools
Cleanup
AuthUser
-->user
withAuthUser
-->withUser
withAuthUserTokenSSR
-->withUserTokenSSR
withAuthUserSSR
-->withUserSSR
useAuthUser
-->useUser
Before release
The text was updated successfully, but these errors were encountered: