next-firebase-auth

Simple Firebase authentication for all Next.js rendering strategies

MIT License

Downloads
20.1K
Stars
1.3K
Committers
25

Bot releases are hidden (Show)

next-firebase-auth - v0.14.0-alpha.1

Published by kmjennison almost 3 years ago

Changes

  • Update README to add min version of new config options

Breaking

  • None
next-firebase-auth - v0.14.0-alpha.0

Published by kmjennison almost 3 years ago

Changes

Thank you to these contributors!

Breaking

  • Minor breaking change: withAuthUserTokenSSR and withAuthUserSSR will no longer throw errors when there are unexpected problems refreshing or verifying the user's ID token. Instead, they will render with an unauthenticated user. To handle errors in a different way, add handlers onVerifyTokenError and onTokenRefreshError to your config.

New Contributors

Full Changelog: https://github.com/gladly-team/next-firebase-auth/compare/v0.13.5...v0.14.0-alpha.o

next-firebase-auth -

Published by kmjennison almost 3 years ago

Changes

Breaking

  • None
next-firebase-auth - v1.0.0-canary.2

Published by kmjennison almost 3 years ago

Changes

Breaking

  • None
next-firebase-auth - v0.13.5-alpha.0

Published by kmjennison almost 3 years ago

Changes

Breaking

  • None
next-firebase-auth -

Published by kmjennison about 3 years ago

Changes

  • Add force-refresh support to getIdToken: #301

Breaking

  • None

Acknowledgements

Thank you to @iamgbayer for their contributions!

next-firebase-auth -

Published by kmjennison about 3 years ago

Changes

  • Add force-refresh support to getIdToken: #301

Breaking

  • None

Acknowledgements

Thank you to @iamgbayer for their contributions!

next-firebase-auth -

Published by kmjennison about 3 years ago

Changes

  • Support modular Firebase 9: #291

Breaking

  • Drop support for firebase <v9.

Acknowledgements

Thank you to @HofmannZ for their contributions!

next-firebase-auth -

Published by kmjennison about 3 years ago

First release.

next-firebase-auth -

Published by kmjennison about 3 years ago

Changes

  • Fix a cookies race condition bug (wait for login/logout requests to complete before redirecting): #243
  • Reduce unnecessary re-renders: #246, #254
  • Add static method hoisting to withAuthUser: #237
  • Redact config secrets when debug logging: #247

Breaking

  • None

Acknowledgements

Thank you to @uncvrd, @hershmire, and @moises-marquez for their contributions!

next-firebase-auth -

Published by kmjennison about 3 years ago

Changes

  • Add hoist-non-react-statics to Node externals whitelist: #259

Breaking

  • None
next-firebase-auth -

Published by kmjennison about 3 years ago

Changes

  • Fix a cookies race condition bug (wait for login/logout requests to complete before redirecting): #243
  • Reduce unnecessary re-renders: #246, #254
  • Add static method hoisting to withAuthUser: #237
  • Redact config secrets when debug logging: #247

Breaking

  • None

Acknowledgements

Thank you to @uncvrd, @hershmire, and @moises-marquez for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Support Next 11: #220

Breaking

  • None
next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Add getFirebaseAdmin method: #144
  • Add phone number, display name, and photo URL to AuthUser: #156
  • Add debug property to TypeScript init config: #158
  • Change return type definition for getFirebaseAdmin: #169

Breaking

  • None

Acknowledgements

Thank you to @ghatchue, @tlamarre91, @gavinharris-dev for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Add phone number, display name, and photo URL to AuthUser: #156

Breaking

  • None

Acknowledgements

Thank you to @ghatchue for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Add debug property to TypeScript init config: #158
  • Change return type definition for getFirebaseAdmin: #169
  • Remove getFirebaseClient method: #170 (see discussion in #135)

Breaking

  • If updating from v0.13.1-alpha.1, the getFirebaseClient method has been removed.

Acknowledgements

Thank you to @tlamarre91 for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Add getFirebaseClient method: #147
  • Change return type definition for getFirebaseAdmin: #154

Breaking

  • None

Acknowledgements

Thank you to @gavinharris-dev for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Add getFirebaseAdmin method: #144

Breaking

  • None

Acknowledgements

Thank you to @gavinharris-dev for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Support for the Firebase authentication emulator: #108. To use it, set the firebaseAuthEmulatorHost config property and FIREBASE_AUTH_EMULATOR_HOST environment variable.
  • Add custom Firebase claims to AuthUser: #109
  • Support dynamic redirects: #121

Breaking

  • If you previously relied on this package to validate that the firebaseAdminInitConfig setting is defined at build time, it will no longer do so. Instead, this package will throw a runtime error if it's not set correctly.

Acknowledgements

Thank you to @litewarp and @grahaml for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Bug fix for broken Firebase user: #130

Breaking

  • None.