79541722

Date: 2025-03-28 14:43:33
Score: 1.5
Natty:
Report link

Today, one of my users encountered this error in docekr + Nuxt3. The auth secret configured by the environment variable was roughly: NUXT_AUTH_SECRET: "20250320". I asked him to try to add a letter to the number, and the error message disappeared. It seems that pure numbers cannot be used as the secret of jwt? I recorded it here and hope it will be helpful to everyone~

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ζœˆδΈŠθ€η‹—