When EncryptID server returns plain text errors (e.g. "Internal Server Error"), the client's .json() calls threw SyntaxError which surfaced as an ugly parse error to users. Add .catch() to all unsafe .json() calls in session.ts, login-button.ts, and recovery.ts so auth gracefully falls back to unsigned tokens instead. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| encryptid | ||
| lib | ||