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 -

Published by kmjennison over 3 years ago

Changes

  • Support dynamic redirects: #121

Breaking

  • None.
next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Add custom Firebase claims to AuthUser: #109

Breaking

  • None.
next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Support using the Firebase authentication emulator: #108. To use it, set the firebaseAuthEmulatorHost config property and FIREBASE_AUTH_EMULATOR_HOST environment variable.

Breaking

  • None.
next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Support setting Firebase private key only at runtime: #85

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.
next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Fix a bug where TypeScript defintions were not included in the built package: #84

Breaking

None.

Acknowledgements

Thank you to @yantakus for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Add TypeScript definitions: #68

Breaking

None.

Acknowledgements

Thank you to @chimericdream and @Qs-F for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Add the "tokenChangedHandler" config property to allow custom logic for calling the login/logout endpoint: #65

Breaking

None.

Acknowledgements

Thank you to @jedtan for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

Changes

  • Support "notFound" and "redirect" responses in the getServerSideProps function passed to withAuthUserTokenSSR or withAuthUserSSR: #51

Breaking

  • Props returned from the getServerSideProps function (provided to withAuthUserTokenSSR or withAuthUserSSR) must be nested within the "props" key. This matches the normal behavior of Next.js's getServerSideProps. See the diff in our example app for an example of how to upgrade.

Acknowledgements

Thank you to @tlays for their contributions!

next-firebase-auth -

Published by kmjennison over 3 years ago

next-firebase-auth -

Published by kmjennison almost 4 years ago

Changes

  • Fix a bug where the package was using an environment variable instead of the config: #46

Breaking

  • The config value firebaseClientInitConfig.apiKey is now always required.
next-firebase-auth -

Published by kmjennison almost 4 years ago

next-firebase-auth -

Published by kmjennison almost 4 years ago

  • Add a demo of withAuthUserSSR to the example
  • Add documentation for withAuthUserSSR
next-firebase-auth -

Published by kmjennison almost 4 years ago

  • Add withAuthUserSSR.
next-firebase-auth -

Published by kmjennison almost 4 years ago

next-firebase-auth -

Published by kmjennison almost 4 years ago

next-firebase-auth -

Published by kmjennison almost 4 years ago

next-firebase-auth -

Published by kmjennison almost 4 years ago

next-firebase-auth -

Published by kmjennison almost 4 years ago

next-firebase-auth -

Published by kmjennison almost 4 years ago

next-firebase-auth -

Published by kmjennison almost 4 years ago