I am getting TypeError: ExtractJwt.fromAuthHeaderAsBearerToken is not a function error when I run server what should the cause?
Another thing is when I use fromAuthHeaderWithScheme() then error does not occur but when I try to login always getting Unauthorized same output with fromHeader("authorization")
I am getting TypeError: ExtractJwt.fromAuthHeaderAsBearerToken is not a function error when I run server what should the cause?
Another thing is when I use fromAuthHeaderWithScheme() then error does not occur but when I try to login always getting Unauthorized same output with fromHeader("authorization")
Please help