Hi Guys,
Sorry but we need help on this, we just installed the accounts-google package and tried to login but we got an error message on server side.
(oauth.js:424) Error in OAuth Server: hasOwn is not defined
I20180828-22:54:35.932(0)? Exception while invoking method 'login' { ReferenceError: hasOwn is not defined
I20180828-22:54:35.932(0)? at getServiceDataFromTokens (packages/google-oauth/google_server.js:18:3)
I20180828-22:54:35.932(0)? at Object.getServiceData [as handleOauthRequest] (packages/google-oauth/google_server.js:78:33)
I20180828-22:54:35.933(0)? at OAuth._requestHandlers.(anonymous function) (packages/oauth2/oauth2_server.js:10:33)
I20180828-22:54:35.933(0)? at middleware (packages/oauth.js:194:5)
I20180828-22:54:35.933(0)? at /home/ubuntu/.meteor/packages/promise/.0.11.1.unjajh.03et++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/meteor-promise/fiber_pool.js:43:40 message: 'hasOwn is not defined' }
Just in case someone here encountered or understand the issue, please share.
It’s confimed that the accounts-google package has an issue on meteor version 1.7.1-beta.21, because when we downgrade the meteor the login works.
Thanks!