4.2.0 (2022-02-03)
Bug Fixes
- core: only show Twitter OAuth 2 warning once (c9e16fb)
- providers: properly warn when using Twitter OAuth 2 (#3784) (a7d34f9)
- Allow React 18 as peer dependency (#3728) (1bf56a2)
- providers: Check for valid profile picture response before converting to base64 (#3656) (4824f8c)
Features
- core: detect
NEXTAUTH_SECRET
(#3783) (f20d679) - middleware: introduce
withAuth
Next.js method (#3657) (f3be5e8) - providers: add authentik provider (#3625) (a4d831d)
- providers: add Trakt provider (#3771) (844c9b1)
- react: add refetchOnWindowFocus option to SessionProvider (#3730) (af157da)
- ts: strongly type sign-in and error page errors (#3740) (53baf6d)