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
feat: make AuthPlugin universal - graceful HTTP server handling and mock auth fallback
AuthPlugin no longer requires HonoServerPlugin as a hard dependency.
When http-server is unavailable (MSW/mock mode), it logs a warning and
continues, keeping the auth service registered.
HttpDispatcher.handleAuth() now provides mock fallback responses for
core better-auth endpoints (sign-up, sign-in, sign-out, get-session)
when no auth service or broker is available, preventing 404 errors
in MSW/browser-only environments.
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
0 commit comments