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~