You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ReferenceError: User is not defined
at Strategy._verify (C:\Users\root\Desktop\app\server.js:25:5)
at C:\Users\root\Desktop\app\node_modules\passport-oauth2\lib\strategy.js:202:24
at C:\Users\root\Desktop\app\node_modules\passport-google-oauth20\lib\strategy.js:122:5
at passBackControl (C:\Users\root\Desktop\app\node_modules\oauth\lib\oauth2.js:134:9)
at IncomingMessage. (C:\Users\root\Desktop\app\node_modules\oauth\lib\oauth2.js:157:7)
at IncomingMessage.emit (events.js:322:22)
at endReadableNT (_stream_readable.js:1187:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
The text was updated successfully, but these errors were encountered:
The userProfileURL option is not really necessary though, passport has a default url if you do not pass one, which is exactly the same one you're suggesting in version 2.0.0. @dariuspirvulescu
@SAMRITIS care to share your server.js file? For more context at least...maybe in an around that line 25.
ReferenceError: User is not defined
at Strategy._verify (C:\Users\root\Desktop\app\server.js:25:5)
at C:\Users\root\Desktop\app\node_modules\passport-oauth2\lib\strategy.js:202:24
at C:\Users\root\Desktop\app\node_modules\passport-google-oauth20\lib\strategy.js:122:5
at passBackControl (C:\Users\root\Desktop\app\node_modules\oauth\lib\oauth2.js:134:9)
at IncomingMessage. (C:\Users\root\Desktop\app\node_modules\oauth\lib\oauth2.js:157:7)
at IncomingMessage.emit (events.js:322:22)
at endReadableNT (_stream_readable.js:1187:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
The text was updated successfully, but these errors were encountered: