79787155

Date: 2025-10-10 08:58:27
Score: 1
Natty:
Report link

On macOS (and other Unix-based systems), the way strings are encoded into bytes can differ slightly if you use non-ASCII characters (like ú, ő, or other accented letters) in your JWT secret key.
Because SymmetricSecurityKey expects a byte-exact key, even a small encoding difference makes the token signature invalid.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Zsombor Nagy