Hi @Loic, they need to match.
You are running into a similar problem as: Error: The signature key was not found
This is usually because the backend integration is checking an authorization server that doesn’t have the public key (identified by a kid) that the access token is reporting in the header of the JWT. I have some additional troubleshooting steps in the other post.
Let me know if that get’s this resolved for you, thanks!
Tom