Open Josexv1 opened 4 years ago
I commented UserService and SettingsService, in auth.module, and now it works, but now there's a bunch of deprecations in MongoDB
(node:10536) DeprecationWarning: current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect. (node:10536) DeprecationWarning: current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor.
This is another deprecation.
{"level":"debug","message":"[NestApplication]: Nest application successfully started"} {"message":"[JwtService]: \"secretOrPrivateKey\" has been deprecated, please use the new explicit \"secret\" or use \"secretOrKeyProvider\" or \"privateKey\"/\"publicKey\" exclusively.","level":"warn"}
Edit:
Swagger authentication is not working either, somehow it logins but the authorization token doesn't work inside the Swagger UI. It works inside the normal app tho.
Reset passwork is not working either
{"message":"[ExceptionsHandler]: Reset password token is missing or invalid","level":"error"}
Settings like Name, Age, etc stays in local storage instead of storing them in the Database.
Edit 2:
Some of the functions in the user management gives error 500, Internal server error, instead of showing what the error is, for example when registering the same email.
When you start the APP this is the error you get, also testing with e2e will give the error too.