Releases: gladly-team/next-firebase-auth
Releases · gladly-team/next-firebase-auth
v0.14.1-alpha.0
What's Changed
- Add ability to redirect without base path by @offgriddev in #352
- Added troubleshooting step to README for "Firebase ID token has invalid signature" by @vpaladino778 in #398
Thank you to these contributors!
Breaking
- None
New Contributors
- @vpaladino778 made their first contribution in #398
- @offgriddev made their first contribution in #352
Full Changelog: v0.14.0...v0.14.1-alpha.0
v1.0.0-canary.4
Changes
- Throw when using
withAuthUserSSR
without signed cookies by @kmjennison in #391 - Throw if
useAuthUser
is used withoutwithAuthUser
by @kmjennison in #395
Breaking
- Minor breaking change: it's no longer allowed to use
withAuthUserSSR
alongside unsigned cookies. This was already discouraged but now will throw an error. For more info, see: #195 - Minor breaking change: it's no longer possible to use
useAuthUser
withoutwithAuthUser
above it in the component tree. For more info, see: #155
Full Changelog: v1.0.0-canary.3...v1.0.0-canary.4
v0.14.0
Changes
- Don't throw errors during ID token verification or refresh
- Handle more token errors by @HofmannZ in #365
- Remove thrown errors from token refresh & verification by @kmjennison in #368. This adds
onVerifyTokenError
andonTokenRefreshError
handlers to the config.
- Allow rendering while redirecting to app by @abusada in #375. This adds a
whenAuthedBeforeRedirect
option towithAuthUser
. - Allow easy error handling for login/logout requests by @kmjennison in #376. This adds
onLoginRequestError
andonLogoutRequestError
handlers to the config. - Support application default credentials for by @prescottprue in #348
- Fix peer dependency range syntax for firebase-admin by @kmjennison in #358
Thank you to these contributors!
Breaking
- Minor breaking change:
withAuthUserTokenSSR
andwithAuthUserSSR
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 handlersonVerifyTokenError
andonTokenRefreshError
to your config.
New Contributors
- @prescottprue made their first contribution in #348
- @pi-guy-in-the-sky made their first contribution in #374
Full Changelog: v0.13.5...v0.14.0
v1.0.0-canary.3
Changes
- Don't throw errors during ID token verification or refresh
- Handle more token errors by @HofmannZ in #365
- Remove thrown errors from token refresh & verification by @kmjennison in #368. This adds
onVerifyTokenError
andonTokenRefreshError
handlers to the config.
- Allow rendering while redirecting to app by @abusada in #375. This adds a
whenAuthedBeforeRedirect
option towithAuthUser
. - Allow easy error handling for login/logout requests by @kmjennison in #376. This adds
onLoginRequestError
andonLogoutRequestError
handlers to the config. - Support application default credentials for by @prescottprue in #359
- Fix peer dependency range syntax for firebase-admin by @kmjennison in #357
- Launch v1.x live demo app
- Change example app cookies to use SameSite=Lax by @kmjennison in #360
Thank you to these contributors!
Breaking
- Minor breaking change:
withAuthUserTokenSSR
andwithAuthUserSSR
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 handlersonVerifyTokenError
andonTokenRefreshError
to your config.
New Contributors
- @abusada made their first contribution in #369
- @prescottprue made their first contribution in #348
- @pi-guy-in-the-sky made their first contribution in #374
v0.14.0-alpha.0
Changes
- Don't throw errors during ID token verification or refresh
- Handle more token errors by @HofmannZ in #365
- Remove thrown errors from token refresh & verification by @kmjennison in #368. This adds
onVerifyTokenError
andonTokenRefreshError
handlers to the config.
- Allow rendering while redirecting to app by @abusada in #375. This adds a
whenAuthedBeforeRedirect
option towithAuthUser
. - Allow easy error handling for login/logout requests by @kmjennison in #376. This adds
onLoginRequestError
andonLogoutRequestError
handlers to the config. - Support application default credentials for by @prescottprue in #348
- Fix peer dependency range syntax for firebase-admin by @kmjennison in #358
Thank you to these contributors!
Breaking
- Minor breaking change:
withAuthUserTokenSSR
andwithAuthUserSSR
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 handlersonVerifyTokenError
andonTokenRefreshError
to your config.
New Contributors
- @prescottprue made their first contribution in #348
- @pi-guy-in-the-sky made their first contribution in #374
Full Changelog: v0.13.5...v0.14.0-alpha.o
v0.14.0-alpha.1
Changes
- Update README to add min version of new config options
Breaking
- None
v0.13.5
v1.0.0-canary.2
v0.13.5-alpha.0
v0.13.4
Changes
- Add force-refresh support to
getIdToken
: #301
Breaking
- None
Acknowledgements
Thank you to @iamgbayer for their contributions!