v1.0.0-canary.3
Pre-release
Pre-release
kmjennison
released this
17 Dec 22:11
·
76 commits
to main
since this release
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