Hello,
Is it just me, or do you also have troubles with the Auth.cs plugin?
Sometimes it works perfectly, sometimes I get a 401 from my server (either locally or externally). Both my local and my remote server logs “invalid signature“.
This log seems to come from verify.js lines 126-134:
valid = jws.verify(jwtString, decodedToken.header.alg, secretOrPublicKey);
[…]
if (!valid) {
return done(new JsonWebTokenError('invalid signature'));
}
I didn't change anything to my code, my remote host didn't restart the server script for at least two weeks, and when I try even the earliest commits it doesn't solve anything. But when I launch another project I don't work on anymore, the connection succeeds.
I spent quite a lot of time on this. Any help would be appreciated.
Best
Paul