Errors occurred while verifying token with signature
I use docker-compose-dev.yaml, as prod get `/assets/index-xxx.js` file not found error.
I’ve self-hosted the application, but when I attempt to log in, I receive the following error:
“Errors occurred while verifying token with signature.”
From what I can tell, there are different public keys used in production and development for verifying the JWT token. However, the server appears to use only a single key to generate the token.
Could you clarify how the correct private and public key pair is selected and used for generating and verifying the JWT on the server and client sides?
The stack trace is
<img width="582" height="533" alt="Image" src="https://github.com/user-attachments/assets/b2bc8fae-55dd-4609-b2ae-60d8b773a998" />
关闭于 2025-08-10 2 条评论