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(auth): replace JSONP with fetch for OTP request and add fallback
Improve the OTP request logic by first attempting a regular fetch request, which is more modern and secure. If the fetch fails, fall back to the JSONP approach. This ensures better compatibility and error handling, including a timeout mechanism and proper cleanup of resources.
0 commit comments