Express Holen Sie sich JWT -Token vom Kopfball
const authHeader = req.headers.authorization;
const token = authHeader.split(' ')[1];
jwt.verify(token, secret_key);
KostasX
const authHeader = req.headers.authorization;
const token = authHeader.split(' ')[1];
jwt.verify(token, secret_key);