Simple Firebase authentication for all Next.js rendering strategies
MIT License
Bot releases are hidden (Show)
Published by kmjennison almost 3 years ago
Published by kmjennison almost 3 years ago
onVerifyTokenError
and onTokenRefreshError
handlers to the config.whenAuthedBeforeRedirect
option to withAuthUser
.onLoginRequestError
and onLogoutRequestError
handlers to the config.Thank you to these contributors!
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.Full Changelog: https://github.com/gladly-team/next-firebase-auth/compare/v0.13.5...v0.14.0-alpha.o
Published by kmjennison almost 3 years ago
Published by kmjennison almost 3 years ago
withAuthUser
: #237Thank you to @uncvrd, @hershmire, and @moises-marquez for their contributions!
withAuthUser
: #237Thank you to @uncvrd, @hershmire, and @moises-marquez for their contributions!
getFirebaseAdmin
method: #144debug
property to TypeScript init config: #158getFirebaseAdmin
: #169Thank you to @ghatchue, @tlamarre91, @gavinharris-dev for their contributions!
debug
property to TypeScript init config: #158getFirebaseAdmin
: #169getFirebaseClient
method: #170 (see discussion in #135)getFirebaseClient
method has been removed.Thank you to @tlamarre91 for their contributions!
firebaseAuthEmulatorHost
config property and FIREBASE_AUTH_EMULATOR_HOST
environment variable.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.Thank you to @litewarp and @grahaml for their contributions!