π₯ refactor(auth): remove NextAuth dead code from auth middleware#13370
π₯ refactor(auth): remove NextAuth dead code from auth middleware#13370
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@nekomeowww - This is a backend auth middleware refactor (removing NextAuth dead code). Please take a look. |
Codecov Reportβ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## canary #13370 +/- ##
=========================================
Coverage 66.94% 66.95%
=========================================
Files 1903 1903
Lines 153684 153681 -3
Branches 15534 17678 +2144
=========================================
+ Hits 102889 102890 +1
+ Misses 50675 50671 -4
Partials 120 120
Flags with carried forward coverage won't be shown. Click here to find out more.
π New features to boost your workflow:
|
|
β€οΈ Great PR @tjx666 β€οΈ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
β¦ehub#13370) * π₯ refactor(auth): remove NextAuth dead code from auth middleware * chore: shorter cookie cache duration
π» Change Type
π Description of Change
Remove leftover NextAuth dead code from auth middleware after NextAuth was fully removed in #11732:
nextAuthAuthorizedfield fromCheckAuthParamsinterfaceOAUTH_AUTHORIZEDheader read and passthrough incheckAuthOAUTH_AUTHORIZEDexport fromenvs/auth.ts(only consumer left was_deprecated/)X-oauth-authorizedheaderπ§ͺ How to Test