You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: address code review feedback for auth client refactoring
- Simplify window origin detection into separate getWindowOrigin helper
- Define proper ForgetPasswordFn type for better-auth method access
- Throw error instead of returning empty AuthUser on updateUser failure
- Replace nested ternary with if-else in test URL extraction
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copy file name to clipboardExpand all lines: ROADMAP.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1305,7 +1305,7 @@ Plugin architecture refactoring to support true modular development, plugin isol
1305
1305
**Fix:**
1306
1306
1. Added `AuthPlugin` from `@objectstack/plugin-auth` to `objectstack.config.ts` for server mode (`pnpm dev:server`).
1307
1307
2. Created `authHandlers.ts` with in-memory mock implementations of better-auth endpoints for MSW mode (`pnpm dev`). Mock handlers are added to `customHandlers` in both `browser.ts` and `server.ts`.
0 commit comments