Closed manueltimita closed 3 weeks ago
Is this for the current 2.x version or 3.x. I have fixed at least the second part in 3.x already.
I'm using oauth@3.0.0-beta300.7 in development, where the error surfaced, so my intention was to fix it in 3.x. If you fixed it already, it looks like I misunderstood how the devel
branch works in this repo. I think we can close this then.
Check out the latest release-3.0
branch. If you want to merge into 3.0 then you need to target that branch.
Thanks, will do that in the future.
Fixes "Error in OAuth Server: findOne + is not available on the server. Please use findOneAsync() instead."
The error stems from
oauth_server.js
still using the sync Mongo API atServiceConfiguration.configurations.findOne(...)