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
Was previously working fine (for ~1 year), but went back and made some changes to the code, rebuilt the project and now this bug is coming up.
Login intermittently fails with cryptic error: "Right hand side of instanceof is not an object". Had to jump into debugger to find the root of the issue.
Appears to result from an undefined value being passed as params.secret to createAccessToken under the create function in @feathersjs/authentication/lib/service.js (line 93).
I have been unable to trace the error any further. I think my config is setup correctly (note: * used to omit sensitive info):
Fails to login using Google Oauth. Gives error "Right hand side of instanceof is not an object"
Unclear why. Previously occuring only sporadic on both my local and production server. Then became permanent on my prod server rendering me unable to login, then on my dev server too. Not sure but suspect this may have come from updated feathers dependencies?
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
NodeJS version:
Operating System:
Browser Version:
React Native Version:
Module Loader:
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Logging in using Google Oauth as per: https://feathersjs.com/cookbook/authentication/google.html
Was previously working fine (for ~1 year), but went back and made some changes to the code, rebuilt the project and now this bug is coming up.
Login intermittently fails with cryptic error: "Right hand side of instanceof is not an object". Had to jump into debugger to find the root of the issue.
Appears to result from an undefined value being passed as params.secret to createAccessToken under the create function in @feathersjs/authentication/lib/service.js (line 93).
I have been unable to trace the error any further. I think my config is setup correctly (note: * used to omit sensitive info):
Expected behavior
Should allow me to login.
Actual behavior
Fails to login using Google Oauth. Gives error "Right hand side of instanceof is not an object"
Unclear why. Previously occuring only sporadic on both my local and production server. Then became permanent on my prod server rendering me unable to login, then on my dev server too. Not sure but suspect this may have come from updated feathers dependencies?
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
NodeJS version:
Operating System:
Browser Version:
React Native Version:
Module Loader:
The text was updated successfully, but these errors were encountered: