Open muhammadhoti opened 2 years ago
Yes—this is happening to me, too.
There seems to be a regression in swagger-ui-dist
4.7.0 that makes the bearer token change to [object Object]
in requests, which makes it impossible to make authenticated requests. This is fixed in swagger-ui-dist
version 4.8.1
Swagger on local works fine and send a correct Authorization token Deploying on Dev environment with same configuration cause this.
Authorization: Bearer [object Object]
its converting JWT token to [object Object] it was working perfectly a couple of days ago with the same modules
"swagger-ui-express": "^4.3.0", "@nestjs/swagger": "^5.2.0"