I have successfully integrated google, twitter, and facebook oauth tools with my app. However I am unable to authorize with github. I am getting this error which happens (I believe) after the redirect from the popup back to my site.
{“line”:“405”,“file”:“oauth_server.js”,“message”:“Error in OAuth Server: emails.find is not a function”,“time”:{"$date":1641280410432},“level”:“warn”}
Exception while invoking method ‘login’ TypeError: emails.find is not a function at Object.handleOauthRequest (packages/github-oauth/github_server.js:10:31)
at OAuth._requestHandlers. (packages/oauth2/oauth2_server.js:10:33)
at middleware (packages/oauth/oauth_server.js:170:5)
at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40
These are my versions
============================= .meteor/release ==================
METEOR@2.5.2
======== Potentially relevant versions listed in .meteor/versions ==========
…
github-oauth@1.3.2
…
meteor@1.10.0
…
oauth@2.1.0
oauth1@1.5.0
oauth2@1.3.1
Anyone have any ideas?