closes #4
This PR will make oauth debugging easier.
Before, we always get "Missing parameters" no matter what the error was.
Now we will get the actual error from the profile argument, like so:
info: Feathers app listening on http://localhost:3030
error: Error: self-signed certificate
at OAuthTenantStrategy.getEntityQuery (/home/pontus/Edumeet/edumeet-management-server/dist/src/auth/strategies/OAuthTenantStrategy.js:11:19)
at OAuthTenantStrategy.findEntity (/home/pontus/Edumeet/edumeet-management-server/node_modules/@feathersjs/authentication-oauth/lib/strategy.js:79:34)
at OAuthTenantStrategy.authenticate (/home/pontus/Edumeet/edumeet-management-server/node_modules/@feathersjs/authentication-oauth/lib/strategy.js:118:44)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
closes #4 This PR will make oauth debugging easier.
Before, we always get "Missing parameters" no matter what the error was. Now we will get the actual error from the profile argument, like so: